Sha256: 9a30cc2e27c4e79c40212cf96938b75d5a0126486a7775016f967313f368e6f5
Contents?: true
Size: 650 Bytes
Versions: 19
Compression:
Stored size: 650 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 --> <!-- Fields needing complex markups --> <%= 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
19 entries across 19 versions & 1 rubygems