Sha256: 4ce1bd588499d3df9e14c18d96a6bd645cde0e56a6215700bcd632a0a9dda208

Contents?: true

Size: 626 Bytes

Versions: 8

Compression:

Stored size: 626 Bytes

Contents

<%= simple_form_for([:backend, collection], html: { autocomplete: "false" }) do |f| %>
  <%= f.error_notification %>

  <div class="form-inputs">
    <%= f.input :name %>
    <%= f.input :slug %>

    <div class="form-group collection_fields">
      <h3><%= Archangel.t(:fields) %></h3>

      <%= f.simple_fields_for :fields do |field| %>
        <%= render "field_fields", f: field %>
      <% end %>

      <div class="links">
        <%= link_to_add_association Archangel.t(:add_field), f, :fields %>
      </div>
    </div>
  </div>

  <div class="form-actions text-right">
    <%= f.button :submit %>
  </div>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
archangel-0.3.0 app/views/archangel/backend/collections/_form.html.erb
archangel-0.0.8 app/views/archangel/backend/collections/_form.html.erb
archangel-0.0.7 app/views/archangel/backend/collections/_form.html.erb
archangel-0.0.6 app/views/archangel/backend/collections/_form.html.erb
archangel-0.0.5 app/views/archangel/backend/collections/_form.html.erb
archangel-0.0.4 app/views/archangel/backend/collections/_form.html.erb
archangel-0.0.3 app/views/archangel/backend/collections/_form.html.erb
archangel-0.0.2 app/views/archangel/backend/collections/_form.html.erb