Sha256: 9eaca59aecf5232228b0b95599dbbd0abf422597afff850abab53a7a57f866aa

Contents?: true

Size: 830 Bytes

Versions: 93

Compression:

Stored size: 830 Bytes

Contents

<%= bootstrap_form_for @custom_field.new_record? ? [current_exhibit, @custom_field] : [@custom_field.exhibit, @custom_field], layout: :horizontal, label_col: 'col-md-3', control_col: 'col-sm-5', html: {class: 'col-md-9', id: 'edit-search'} do |f| %>

  <%= f.text_field :label %>
  <%= f.text_area :short_description %>

  <%= f.form_group :field_type, label: { text: t(:'.field_type.label') } do %>
    <%= f.radio_button :field_type, "text", label: t(:'.field_type.text') %>
    <%= f.radio_button :field_type, "vocab", label: t(:'.field_type.vocab') %>
  <% end %>

  <div class="form-actions">
    <div class="primary-actions">
      <%= link_to t(:"cancel"), edit_exhibit_metadata_configuration_path(current_exhibit), class: "btn btn-link" %>
      <%= f.submit nil, class: 'btn btn-primary' %>
    </div>
  </div>
<% end %>

Version data entries

93 entries across 93 versions & 1 rubygems

Version Path
blacklight-spotlight-2.0.0 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-2.0.0.rc6 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-2.0.0.rc5 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-2.0.0.rc4 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-2.0.0.rc3 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-2.0.0.rc2 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-2.0.0.rc1 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-1.5.1 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-1.4.1 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-1.4.0 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-1.3.0 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-1.2.0 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-1.1.0 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-1.0.0 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-1.0.0.alpha2 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-1.0.0.alpha1 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-0.34.1 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-0.34.0 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-0.33.3 app/views/spotlight/custom_fields/_form.html.erb
blacklight-spotlight-0.33.2 app/views/spotlight/custom_fields/_form.html.erb