Sha256: c3f538a04dec94e9a0c9d8ff1dfd577bfaedce6afa7409159a212458c205f000

Contents?: true

Size: 699 Bytes

Versions: 2

Compression:

Stored size: 699 Bytes

Contents

<%= bootstrap_form_for @exhibit, url: ((spotlight.exhibit_path(@exhibit) if @exhibit.persisted?) || spotlight.exhibits_path), layout: :horizontal, label_col: 'col-md-2', control_col: 'col-md-10', html: {class: "row"} do |f| %>
<div class="row col-md-12">
  <%= f.text_field :title, label: t(:'.fields.title.label'), help: t(:'.fields.title.help_block') %>
  <%= f.text_field :slug, label: t(:'.fields.slug.label'), help: t(:'.fields.slug.help_block') %>
  <%= f.text_field :tag_list %>

  <%= render 'initial_resources_form', locals: { f: f } %>

  <div class="form-actions">
    <div class="primary-actions">
      <%= f.submit nil, class: 'btn btn-primary' %>
    </div>
  </div>
</div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blacklight-spotlight-0.16.0 app/views/spotlight/exhibits/_new_exhibit_form.html.erb
blacklight-spotlight-0.15.0 app/views/spotlight/exhibits/_new_exhibit_form.html.erb