Sha256: 2538f20c2b925aead82acbb3542664882c285f7c3d55b1b3f872ab00e4c11b9e
Contents?: true
Size: 1.28 KB
Versions: 34
Compression:
Stored size: 1.28 KB
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, disabled: !default_language?, help: !default_language? ? t('.uneditable_non_default_language') : '' %> <%= f.text_field :subtitle %> <%= f.text_area :description %> <%= f.text_field :tag_list, value: f.object.tag_list.to_s %> <%= f.form_group(:contact_emails, label: { text: nil, class: nil }, help: nil) do %> <%= f.fields_for :contact_emails do |contact| %> <%= render partial: 'contact', locals: {exhibit: @exhibit, contact: contact} %> <% end %> <span id='another-email' class="btn btn-sm btn-info"><%= t('.add_contact_email_button') %></span> <p class="help-block"><%= t(:'.fields.contact_emails.help_block') %></p> <% end %> <%= f.form_group :published, label: { text: nil, class: nil }, help: nil do %> <%= f.check_box :published, label: "" %> <p class="help-block"><%= t(:'.fields.published.help_block') %></p> <% end %> <div class="form-actions"> <div class="primary-actions"> <%= f.submit nil, class: 'btn btn-primary' %> </div> </div> </div> <% end %>
Version data entries
34 entries across 34 versions & 1 rubygems