Sha256: 10b2ac703876c061075cced91333d8825ac588dcf1a4320cd77f6f117188d493

Contents?: true

Size: 1.55 KB

Versions: 27

Compression:

Stored size: 1.55 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, jcrop_options: default_masthead_jcrop_options %>
          <% 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

27 entries across 27 versions & 1 rubygems

Version Path
blacklight-spotlight-0.32.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.31.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.30.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.29.1 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.29.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.28.3 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.28.2 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.28.1 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.28.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.27.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.26.1 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.26.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.25.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.24.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.23.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.22.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.21.0 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.20.3 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.20.2 app/views/spotlight/sites/edit.html.erb
blacklight-spotlight-0.20.1 app/views/spotlight/sites/edit.html.erb