Sha256: 46aafecbe1598996660f2e27445aac063776d7706c1c74d57caa24f4b10f6127

Contents?: true

Size: 403 Bytes

Versions: 32

Compression:

Stored size: 403 Bytes

Contents

<%= symphonia_form_for(@entity) do |f| %>
  <%= f.error_messages %>

  <% @entity.class.registered_attributes.each do |name, attribute| %>
    <% next unless attribute.input_field %>
    <p>
      <%= f.send attribute.input_field, name, attribute.input_options %>
    </p>
  <% end %>

  <p class="buttons">
    <%= link_to_back(polymorphic_path(@entity.class)) %>
    <%= f.primary %>
  </p>
<% end %>

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
symphonia-6.0.5 app/views/base/_form.html.erb
symphonia-6.0.4 app/views/base/_form.html.erb
symphonia-6.0.2 app/views/base/_form.html.erb
symphonia-6.0.1 app/views/base/_form.html.erb
symphonia-6.0.0 app/views/base/_form.html.erb
symphonia-5.0.6 app/views/base/_form.html.erb
symphonia-5.0.5 app/views/base/_form.html.erb
symphonia-5.0.4 app/views/base/_form.html.erb
symphonia-5.0.3 app/views/base/_form.html.erb
symphonia-5.0.0 app/views/base/_form.html.erb
symphonia-4.2.0 app/views/base/_form.html.erb
symphonia-4.1.3 app/views/base/_form.html.erb
symphonia-4.1.2 app/views/base/_form.html.erb
symphonia-4.1.1 app/views/base/_form.html.erb
symphonia-4.1.0 app/views/base/_form.html.erb
symphonia-4.0.1 app/views/base/_form.html.erb
symphonia-4.0.0 app/views/base/_form.html.erb
symphonia-3.4.0 app/views/base/_form.html.erb
symphonia-3.3.4 app/views/base/_form.html.erb
symphonia-3.3.3 app/views/base/_form.html.erb