fix haml indentation errors
This commit is contained in:
parent
092bc6b150
commit
4e61e764df
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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') + ':'
|
||||||
|
|
Loading…
Reference in a new issue