Sha256: f7d94cb17b1d2613f9a52b4cf40df5d5147aefa0ab04115d62a5c820d9e24846

Contents?: true

Size: 1.61 KB

Versions: 49

Compression:

Stored size: 1.61 KB

Contents

<div id="content" class="col-md-9 exhibit-admin">
  <%= page_title(t('.section'), t('.page_title')) %>
  <div role="tabpanel">
    <%= bootstrap_form_for @site, url: spotlight.site_path, layout: :horizontal, label_col: 'col-md-2', control_col: 'col-md-10' do |f| %>
      <ul class="nav nav-tabs" role="tablist">
        <li role="presentation" class="active">
          <a href="#basic" aria-controls="basic" role="tab" data-toggle="tab"><%= t(:'.basic_settings.heading') %></a>
        </li>
        <li role="presentation">
          <a href="#site-masthead" aria-controls="site-masthead" role="tab" data-toggle="tab"><%= t(:'.site_masthead.heading') %></a>
        </li>
      </ul>
      <div class="tab-content">
        <div role="tabpanel" class="tab-pane active" id="basic">
          <div class="row col-md-12">
            <%= f.text_field :title %>
            <%= f.text_field :subtitle %>
          </div>
        </div>

        <div role="tabpanel" class="tab-pane" id="site-masthead">
          <p class="instructions"><%= t(:'.site_masthead.help') %></p>
          <%= f.fields_for(:masthead, @site.masthead || @site.build_masthead) do |m| %>
            <%= render '/spotlight/featured_images/upload_form', f: m, initial_crop_selection: Spotlight::Engine.config.masthead_initial_crop_selection, crop_type: :masthead %>
          <% end %>
        </div>
      </div>

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

<aside class="col-md-3">
  <%= render "shared/site_sidebar" %>
</aside>

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
blacklight-spotlight-2.13.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.12.1 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.12.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.11.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.10.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.9.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.8.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.7.2 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.7.1 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.7.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.6.1.1 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.6.1 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.6.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.5.2 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.5.1 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.5.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.4.1 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.4.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.3.3 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-2.3.2 app/views/spotlight/sites/edit.html.erb