Sha256: 079363e1adb51f5172c0037cb2a560ed2273056f923ca8d54db51be82d5b4370

Contents?: true

Size: 652 Bytes

Versions: 6

Compression:

Stored size: 652 Bytes

Contents

.<%=plural_linking_resource_name%>_form
  = render 'admin/<%=plural_linking_resource_name%>/form', :<%=plural_child_name%> => @<%=plural_child_name%>, :<%=resource_name%> => @<%=resource_name%>
%strong Список <%=plural_child_name%>
%table.<%=plural_child_name%>{:id => "sort-list-<%=plural_linking_resource_name%>"}
  = render @<%=resource_name%>.<%=plural_linking_resource_name%>.order(<%= linking_columns.include?("position") ? '\'position\'' : '\'created_at\'' %>)
  <%- if linking_columns.include?("position") %>
  = multiple_sortable('sort-list-<%=plural_linking_resource_name%>', sort_admin_<%=plural_linking_resource_name%>_path)
  <%end%>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ideyabox-0.1.12 lib/generators/ideyabox/many_to_many/templates/views/_child.html.haml
ideyabox-0.1.11 lib/generators/ideyabox/many_to_many/templates/views/_child.html.haml
ideyabox-0.1.10 lib/generators/ideyabox/many_to_many/templates/views/_child.html.haml
ideyabox-0.1.9 lib/generators/ideyabox/many_to_many/templates/views/_child.html.haml
ideyabox-0.1.8 lib/generators/ideyabox/many_to_many/templates/views/_child.html.haml
ideyabox-0.1.7 lib/generators/ideyabox/many_to_many/templates/views/_child.html.haml