Commit 0be062152a780950d699676c7cf7e6b7154d7db9
1 parent
3e9460b6
Exists in
master
and in
4 other branches
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 | 8 | Project name is |
| 9 | 9 | .input |
| 10 | 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 | 12 | - if current_user.can_select_namespace? |
| 14 | 13 | .clearfix |
| ... | ... | @@ -38,14 +37,15 @@ |
| 38 | 37 | |
| 39 | 38 | %p.padded |
| 40 | 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 | 50 | .save-project-loader.hide |
| 51 | 51 | %center | ... | ... |