Sha256: e64eb2bb8e26c4a534544aeebd06569cd26d5b1ff34958b16a2edd7ffe624ef3

Contents?: true

Size: 355 Bytes

Versions: 2

Compression:

Stored size: 355 Bytes

Contents

<% record_form_for record, path, multipart: true, class: "ui form" do |f| %>
  <% record.group.fields.each do |field, type| %>
    <div class="field">
      <%= f.vp_field field, type, @record.content[field] %>
    </div>
  <% end %>

  <%= f.submit "Save #{@group.display_name.singularize}", class: "ui primary positive left floated button" %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vapid-0.1.1 lib/vapid/views/admin/records/_form.erb
vapid-0.1.0 lib/vapid/views/admin/records/_form.erb