Better supplier ember section workflow

This commit is contained in:
2014-07-02 15:44:51 +02:00
parent 8ab355460c
commit 627e0e891d
14 changed files with 115 additions and 6 deletions
@@ -2,6 +2,7 @@
link-to 'sections' class="goto-sections-index-tab-header": span
each section in sections
view Qsupplier.App.SectionTabHeaderView context=section
a.add-section{action "addSection"}: span
.section-manage-tables.pull-right
if editmode
/.btn-group
@@ -31,7 +32,8 @@
span.table-qr-codes
=t 'tables.qr_codes.link'
li
a.section-destroy href="{{route 'suppliers_section_path' id}}" data-method="delete" data-confirm="{{t 'helpers.links.are_you_sure' bare=true}}"
/a.section-destroy href="{{route 'suppliers_section_path' id}}" data-method="delete" data-confirm="{{t 'helpers.links.are_you_sure' bare=true}}"
a.section-destroy{action destroySection}
span.section-remove-icon
=t 'helpers.links.destroy'
Ember.TextField valueBinding="title" class="section-edit-title-field"