Supplier main board section selector

This commit is contained in:
2013-12-11 18:31:32 +01:00
parent 8aede39b27
commit 391c8a7613
15 changed files with 58 additions and 18 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ html lang="en"
.row= yield :row
.row
.span12
#app
#ember-app-container
script#alert-template[type="text/html"]= mustache_template 'supplier/alert'
= yield :footer
javascript:
-3
View File
@@ -1,8 +1,5 @@
- content_for :head do
= javascript_include_tag 'supplier/app/application'
.pull-right
= select_tag('current_section_selector', options_for_select([[current_supplier.name, '']] + current_supplier.sections.map{|s| ["- #{s.title}", s.id]}, params[:section_id]), id: :section_selector)
a.icon-arrow-right.go-to-tables-view.hide href=tables_view_suppliers_section_path('0000')
- content_for :footer do
javascript:
$(function(){