Commit 846e59505eefab7bd04227edcdc55c6033d42ec5
1 parent
e3f9bd23
Exists in
master
and in
4 other branches
Replace .actions with .form-actions
Showing
8 changed files
with
11 additions
and
18 deletions
Show diff stats
app/assets/stylesheets/gitlab_bootstrap/forms.scss
1 | 1 | form { |
2 | 2 | @extend .form-horizontal; |
3 | 3 | |
4 | - .actions { | |
5 | - @extend .form-actions; | |
6 | - } | |
7 | - | |
8 | - .clearfix { | |
9 | - @extend .control-group; | |
4 | + label { | |
5 | + @extend .control-label; | |
10 | 6 | } |
11 | 7 | |
12 | - .input { | |
13 | - @extend .controls; | |
8 | + .actions { | |
9 | + @extend .form-actions; | |
14 | 10 | } |
15 | 11 | |
16 | - label { | |
17 | - @extend .control-label; | |
18 | - } | |
19 | 12 | .xlarge { |
20 | 13 | @extend .input-xlarge; |
21 | 14 | } | ... | ... |
app/views/admin/users/_form.html.haml
app/views/profiles/keys/_form.html.haml
app/views/projects/deploy_keys/_form.html.haml
... | ... | @@ -17,7 +17,7 @@ |
17 | 17 | Paste a machine public key here. Read more about how generate it |
18 | 18 | = link_to "here", help_ssh_path |
19 | 19 | |
20 | - .actions | |
20 | + .form-actions | |
21 | 21 | = f.submit 'Create', class: "btn-create btn" |
22 | 22 | = link_to "Cancel", project_deploy_keys_path(@project), class: "btn btn-cancel" |
23 | 23 | ... | ... |
app/views/projects/issues/_form.html.haml
app/views/projects/team_members/_form.html.haml
... | ... | @@ -19,6 +19,6 @@ |
19 | 19 | = f.label :project_access, "Project Access" |
20 | 20 | .controls= select_tag :project_access, options_for_select(Project.access_options, @user_project_relation.project_access), class: "project-access-select chosen" |
21 | 21 | |
22 | - .actions | |
22 | + .form-actions | |
23 | 23 | = f.submit 'Add users', class: "btn btn-create" |
24 | 24 | = link_to "Cancel", project_team_index_path(@project), class: "btn btn-cancel" | ... | ... |
app/views/projects/team_members/import.html.haml
... | ... | @@ -8,7 +8,7 @@ |
8 | 8 | = label_tag :source_project_id, "Project" |
9 | 9 | .controls= select_tag(:source_project_id, options_from_collection_for_select(current_user.authorized_projects, :id, :name_with_namespace), prompt: "Select project", class: "chosen xxlarge", required: true) |
10 | 10 | |
11 | - .actions | |
11 | + .form-actions | |
12 | 12 | = submit_tag 'Import project members', class: "btn btn-create" |
13 | 13 | = link_to "Cancel", project_team_index_path(@project), class: "btn btn-cancel" |
14 | 14 | ... | ... |
app/views/projects/wikis/_form.html.haml
... | ... | @@ -28,7 +28,7 @@ |
28 | 28 | .ui-box-bottom |
29 | 29 | = f.label :commit_message |
30 | 30 | .controls= f.text_field :message, class: 'span8' |
31 | - .actions | |
31 | + .form-actions | |
32 | 32 | - if @wiki && @wiki.persisted? |
33 | 33 | = f.submit 'Save changes', class: "btn-save btn" |
34 | 34 | = link_to "Cancel", project_wiki_path(@project, @wiki), class: "btn btn-cancel" | ... | ... |