Second part of admin-namespace-reorder. Also renamed OrderGroup into Ordergroup. More view-sharing between groups is neccessary.
This commit is contained in:
parent
2d5dc03b90
commit
fadc951208
83 changed files with 410 additions and 518 deletions
|
|
@ -5,15 +5,15 @@
|
|||
%b= _("Note") + ":"
|
||||
= text_field_tag "note"
|
||||
%p
|
||||
%table#OrderGroups{:style => "width:20em"}
|
||||
%table#Ordergroups{:style => "width:20em"}
|
||||
%tr
|
||||
%th=_ "Ordergroup"
|
||||
%th=_ "Amount"
|
||||
= render :partial => 'order_group', :collection => [1, 2, 3]
|
||||
= render :partial => 'ordergroup', :collection => [1, 2, 3]
|
||||
|
||||
%p
|
||||
= link_to_function _("Add another ordergroup") do |page|
|
||||
- page.insert_html :bottom, :OrderGroups, :partial => 'order_group'
|
||||
- page.insert_html :bottom, :Ordergroups, :partial => 'ordergroup'
|
||||
%p
|
||||
= submit_tag _("Save")
|
||||
|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue