Sha256: bd292f8a864120480ae5aa3b4be6c8e094fb7fbe1cd8ecfb6c17289c21eb466a

Contents?: true

Size: 442 Bytes

Versions: 2

Compression:

Stored size: 442 Bytes

Contents

  <%= cambium_page_title(admin_table.title) %>

<div id="page-content">
  <section class="form settings">
    <% @collection.each do |obj| %>
      <%= simple_form_for [:admin, obj] do |f| %>
        <% field = [:value, admin_view.form.edit.fields.send(obj.key)] %>
        <%= cambium_field(f, obj, field) %>
        <%= f.submit "Save #{admin_view.form.edit.fields.send(obj.key).label}" %>
      <% end %>
    <% end %>
  </section>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cambium-1.3.2 app/views/cambium/admin/settings/index.html.erb
cambium-1.3.1 app/views/cambium/admin/settings/index.html.erb