Sha256: 4f3f7662dd7d78a1a659c5044899667bd6d4c9a75e0be55c1af9cdb5f1e538bc

Contents?: true

Size: 715 Bytes

Versions: 4

Compression:

Stored size: 715 Bytes

Contents

<%= bootstrap_form_for record, :url=>record.new_record? ? hydra_editor.records_path : hydra_editor.record_path(record), html: {:class => 'form-inline editor'} do |f| %>
  <div id="descriptions_display">
    <h2 class="non lower">Descriptions <small class="pull-right"><span class="error">*</span> indicates required fields</small> </h2>
    <div class="well">
      <% f.object.terms_for_editing.each do |term| %>
        <%= render :partial => "records/edit_field", :locals => {:f =>f, :render_req => true, :key => term } %>
      <% end %>
    </div><!-- /well -->
  </div>
  <%= hidden_field_tag :type, params[:type] %>
  <%= f.actions do %>
    <%= f.submit 'Save' %>
    <%= f.cancel %>
  <% end %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hydra-editor-0.0.6 app/views/records/_form.html.erb
hydra-editor-0.0.5 app/views/records/_form.html.erb
hydra-editor-0.0.4 app/views/records/_form.html.erb
hydra-editor-0.0.3 app/views/records/_form.html.erb