Sha256: 4028eb95a3db1466933c7d0b1b78396e44fdb21def788705a857f9115b135763
Contents?: true
Size: 604 Bytes
Versions: 14
Compression:
Stored size: 604 Bytes
Contents
<% @model.form_attributes.each do |entries| %> <% entries.each do |attribute, properties| %> <% field_type = properties['type'] %> <% properties = properties.except('type') %> <% if is_customized_field?(field_type) %><!-- SharedPagesHelper --> <%= render( "adminpanel/form/#{field_type}", f: f, properties: properties, attribute: attribute, is_modal: params[:model].present? ) %> <% else %> <% args = properties.except('name') %> <%= f.send(field_type, attribute, args) %> <% end %> <% end %> <% end %>
Version data entries
14 entries across 14 versions & 1 rubygems