app/views/binda/structures/_form_section.html.erb in binda-0.0.6 vs app/views/binda/structures/_form_section.html.erb in binda-0.0.7
- old
+ new
@@ -2,10 +2,10 @@
<%# - - - - - - - - - - - - %>
<%# FORM ITEM %>
<%# - - - - - - - - - - - - %>
-<%= f.simple_fields_for :field_groups, f.object.field_groups.order( :position ) do |ff| %>
+<%= f.simple_fields_for :field_groups, f.object.field_groups.order( :position, :name ) do |ff| %>
<div class="form-item">
<%= ff.input :structure_id, as: :hidden %>
<%= ff.input :id, as: :hidden %>