Commit 846e5950 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Replace .actions with .form-actions

parent e3f9bd23
form {
@extend .form-horizontal;
 
.actions {
@extend .form-actions;
}
.clearfix {
@extend .control-group;
label {
@extend .control-label;
}
 
.input {
@extend .controls;
.actions {
@extend .form-actions;
}
 
label {
@extend .control-label;
}
.xlarge {
@extend .input-xlarge;
}
......
......@@ -85,7 +85,7 @@
= f.label :twitter
.controls= f.text_field :twitter
 
.actions
.form-actions
- if @user.new_record?
= f.submit 'Create user', class: "btn btn-create"
= link_to 'Cancel', admin_users_path, class: "btn btn-cancel"
......
......@@ -17,7 +17,7 @@
= f.text_area :key, class: [:xxlarge, :thin_area]
 
 
.actions
.form-actions
= f.submit 'Add key', class: "btn btn-create"
= link_to "Cancel", profile_keys_path, class: "btn btn-cancel"
 
......@@ -17,7 +17,7 @@
Paste a machine public key here. Read more about how generate it
= link_to "here", help_ssh_path
 
.actions
.form-actions
= f.submit 'Create', class: "btn-create btn"
= link_to "Cancel", project_deploy_keys_path(@project), class: "btn btn-cancel"
 
......@@ -47,7 +47,7 @@
%p.hint Issues are parsed with #{link_to "GitLab Flavored Markdown", help_markdown_path, target: '_blank'}.
 
 
.actions
.form-actions
- if @issue.new_record?
= f.submit 'Submit new issue', class: "btn btn-create"
-else
......
......@@ -19,6 +19,6 @@
= f.label :project_access, "Project Access"
.controls= select_tag :project_access, options_for_select(Project.access_options, @user_project_relation.project_access), class: "project-access-select chosen"
 
.actions
.form-actions
= f.submit 'Add users', class: "btn btn-create"
= link_to "Cancel", project_team_index_path(@project), class: "btn btn-cancel"
......@@ -8,7 +8,7 @@
= label_tag :source_project_id, "Project"
.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)
 
.actions
.form-actions
= submit_tag 'Import project members', class: "btn btn-create"
= link_to "Cancel", project_team_index_path(@project), class: "btn btn-cancel"
 
......@@ -28,7 +28,7 @@
.ui-box-bottom
= f.label :commit_message
.controls= f.text_field :message, class: 'span8'
.actions
.form-actions
- if @wiki && @wiki.persisted?
= f.submit 'Save changes', class: "btn-save btn"
= link_to "Cancel", project_wiki_path(@project, @wiki), class: "btn btn-cancel"
......
Supports Markdown
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