Add some view structure

This commit is contained in:
2014-04-17 23:05:35 +02:00
parent 45f8ea1308
commit 2a5331471c
23 changed files with 207 additions and 115 deletions
+1 -4
View File
@@ -8,7 +8,4 @@
= f.label :section_id, Section.model_name.human, class: 'control-label', data: {t: 'models.section'}
.controls
= f.collection_select :section_id, current_supplier.sections, :id, :title, include_blank: "[#{t('supplier.tables.has_no_section')}]"
.form-actions
= f.submit nil, class: 'btn btn-primary save-table-button'
'
= link_to t("helpers.links.cancel"), suppliers_tables_path, class: 'btn'
= f.supplier_form_actions