Sha256: e132801276691503378ed925fe31664102786739a23df7e3be4bcb20b718bc42
Contents?: true
Size: 844 Bytes
Versions: 1
Compression:
Stored size: 844 Bytes
Contents
<% form_url = entry.persisted? ? backend_collection_entry_path(collection, entry) : backend_collection_entries_path(collection) %> <%= simple_form_for([:backend, collection, entry], as: :collection_entry, url: form_url, html: { autocomplete: "false" }) do |f| %> <%= f.error_notification %> <div class="form-inputs"> <% for field in collection.fields %> <%= f.input field.slug.to_sym, as: field.classification, label: field.label, required: field.required %> <% end %> <%= f.input :published_at, as: :date_time_picker %> </div> <div class="form-actions text-right"> <%= f.button :submit, class: "btn btn-primary" %> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
archangel-0.4.0 | app/views/archangel/backend/entries/_form.html.erb |