First-pass conversion of layouts and icons to BS3/FA

Rough around the edges.
This commit is contained in:
Dan Rice 2014-03-29 16:52:16 -04:00
parent 9c083b3175
commit 42e2da8653
13 changed files with 238 additions and 281 deletions

View file

@ -124,9 +124,9 @@ module TodosHelper
end
def todo_form_control_group (label_for, label)
content_tag(:div, class: "control-group") do
content_tag(:label, class: "control-label", for: label_for){label} +
content_tag(:div, class:"controls") { yield }
content_tag(:div, class: "form-group") do
content_tag(:label, class: "col-sm-3 control-label", for: label_for){label} +
content_tag(:div, class:"col-sm-9") { yield }
end
end