fix haml indentation errors

This commit is contained in:
wvengen 2013-10-17 16:35:50 +02:00
parent 092bc6b150
commit 4e61e764df
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
%h2= t '.title' %h2= t '.title'
- if ordergroup.not_enough_apples? - if ordergroup.not_enough_apples?
.alert .alert
= t '.not_enough_apples' = t '.not_enough_apples'
- unless Order.open.empty? - unless Order.open.empty?
%table.table.table-striped %table.table.table-striped
%thead %thead

View File

@ -1,7 +1,7 @@
= simple_form_for @supplier do |f| = simple_form_for @supplier do |f|
- if @supplier.shared_supplier - if @supplier.shared_supplier
.alert.alert-success .alert.alert-info
= t 'suppliers.shared_supplier_note' = t 'suppliers.shared_supplier_note'
= f.hidden_field :shared_supplier_id = f.hidden_field :shared_supplier_id
= f.input :name = f.input :name
= f.input :address = f.input :address

View File

@ -4,7 +4,7 @@
.span6 .span6
- if shared_supplier = @supplier.shared_supplier - if shared_supplier = @supplier.shared_supplier
.alert.alert-info .alert.alert-info
= t 'suppliers.shared_supplier_note' = t 'suppliers.shared_supplier_note'
%dl.dl-horizontal %dl.dl-horizontal
%dt= t('simple_form.labels.supplier.address') + ':' %dt= t('simple_form.labels.supplier.address') + ':'