Commit 0be062152a780950d699676c7cf7e6b7154d7db9

Authored by Dmitriy Zaporozhets
1 parent 3e9460b6

Improve new project page

Showing 1 changed file with 8 additions and 8 deletions   Show diff stats
app/views/projects/new.html.haml
@@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
8 Project name is 8 Project name is
9 .input 9 .input
10 = f.text_field :name, placeholder: "Example Project", class: "xxlarge", tabindex: 1, autofocus: true 10 = f.text_field :name, placeholder: "Example Project", class: "xxlarge", tabindex: 1, autofocus: true
11 - = f.submit 'Create project', class: "btn btn-create project-submit", tabindex: 4  
12 11
13 - if current_user.can_select_namespace? 12 - if current_user.can_select_namespace?
14 .clearfix 13 .clearfix
@@ -38,14 +37,15 @@ @@ -38,14 +37,15 @@
38 37
39 %p.padded 38 %p.padded
40 New projects are private by default. You choose who can see the project and commit to repository. 39 New projects are private by default. You choose who can see the project and commit to repository.
41 - %hr 40 + .form-actions
  41 + = f.submit 'Create project', class: "btn btn-create project-submit", tabindex: 4
42 42
43 - - if current_user.can_create_group?  
44 - .clearfix  
45 - .input.light  
46 - Need a group for several dependent projects?  
47 - = link_to new_group_path, class: "btn btn-tiny" do  
48 - Create a group 43 + - if current_user.can_create_group?
  44 + .pull-right
  45 + .input.light
  46 + Need a group for several dependent projects?
  47 + = link_to new_group_path, class: "btn btn-tiny" do
  48 + Create a group
49 49
50 .save-project-loader.hide 50 .save-project-loader.hide
51 %center 51 %center