Commit 0be06215 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Improve new project page

parent 3e9460b6
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
Project name is Project name is
.input .input
= f.text_field :name, placeholder: "Example Project", class: "xxlarge", tabindex: 1, autofocus: true = f.text_field :name, placeholder: "Example Project", class: "xxlarge", tabindex: 1, autofocus: true
= f.submit 'Create project', class: "btn btn-create project-submit", tabindex: 4
- if current_user.can_select_namespace? - if current_user.can_select_namespace?
.clearfix .clearfix
...@@ -38,10 +37,11 @@ ...@@ -38,10 +37,11 @@
%p.padded %p.padded
New projects are private by default. You choose who can see the project and commit to repository. New projects are private by default. You choose who can see the project and commit to repository.
%hr .form-actions
= f.submit 'Create project', class: "btn btn-create project-submit", tabindex: 4
- if current_user.can_create_group? - if current_user.can_create_group?
.clearfix .pull-right
.input.light .input.light
Need a group for several dependent projects? Need a group for several dependent projects?
= link_to new_group_path, class: "btn btn-tiny" do = link_to new_group_path, class: "btn btn-tiny" do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment