Commit 7400cfc1 authored by Robert Speicher's avatar Robert Speicher

Bootlint: Use offset grid classes instead of empty divs

parent adffe47d
......@@ -12,8 +12,7 @@
- if @group.new_record?
.form-group
.col-sm-2
.col-sm-10
.col-sm-offset-2.col-sm-10
.alert.alert-info
= render 'shared/group_tips'
.form-actions
......
......@@ -92,8 +92,7 @@
= namespace_select_tag :new_namespace_id, selected: params[:namespace_id], class: 'input-large'
.form-group
.col-sm-2
.col-sm-10
.col-sm-offset-2.col-sm-10
= f.submit 'Transfer', class: 'btn btn-primary'
.col-md-6
......
......@@ -11,8 +11,7 @@
= render 'shared/group_form', f: f
.form-group
.col-sm-2
.col-sm-10
.col-sm-offset-2.col-sm-10
= image_tag group_icon(@group), alt: '', class: 'avatar group-avatar s160'
%p.light
- if @group.avatar?
......
......@@ -13,8 +13,7 @@
= render 'shared/choose_group_avatar_button', f: f
.form-group
.col-sm-2
.col-sm-10
.col-sm-offset-2.col-sm-10
= render 'shared/group_tips'
.form-actions
......
......@@ -109,6 +109,5 @@
.row
.col-md-7
.form-group
.col-sm-2  
.col-sm-10
.col-sm-offset-2.col-sm-10
= f.submit 'Save changes', class: "btn btn-success"
- if issuable.errors.any?
.row
.col-sm-10.col-sm-offset-2
.col-sm-offset-2.col-sm-10
.alert.alert-danger
- issuable.errors.full_messages.each do |msg|
%span= msg
......
......@@ -13,8 +13,7 @@
= render 'shared/commit_message_container', params: params,
placeholder: 'Removed this file because...'
.form-group
.col-sm-2
.col-sm-10
.col-sm-offset-2.col-sm-10
= button_tag 'Remove file', class: 'btn btn-remove btn-remove-file'
= link_to "Cancel", '#', class: "btn btn-cancel", "data-dismiss" => "modal"
......
......@@ -80,8 +80,7 @@
%legend
Project avatar:
.form-group
.col-sm-2
.col-sm-10
.col-sm-offset-2.col-sm-10
- if @project.avatar?
= project_icon("#{@project.namespace.to_param}/#{@project.to_param}", alt: '', class: 'avatar project-avatar s160')
%p.light
......
= form_for [@project.namespace.becomes(Namespace), @project, @label], html: { class: 'form-horizontal label-form' } do |f|
-if @label.errors.any?
.row
.col-sm-10.col-sm-offset-2
.col-sm-offset-2.col-sm-10
.alert.alert-danger
- @label.errors.full_messages.each do |msg|
%span= msg
......
......@@ -12,8 +12,7 @@
= f.select :format, options_for_select(ProjectWiki::MARKUPS, {selected: @page.format}), {}, class: "form-control"
.row
.col-sm-2
.col-sm-10
.col-sm-offset-2.col-sm-10
%p.cgray
To link to a (new) page you can just type
%code [Link Title](page-slug)
......
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