Sha256: 36591619e99d5257d1c8c25f05894a919f4098134b3fd29d380fa562c05aacd5

Contents?: true

Size: 1.66 KB

Versions: 7

Compression:

Stored size: 1.66 KB

Contents

<fieldset>
  <div class="fieldset-help">
    <legend>Content</legend>
    <% if I18n.available_locales.any? %>
      <p class="hint">
        <div class='dropdown'>
          <%= link_to '#', class: 'btn btn-warning', data: {toggle: 'dropdown'}, role: :button do %>
            Change language <span class="caret"></span>
          <% end -%>
          <ul class="dropdown-menu" role="menu">
            <% I18n.available_locales.each do |locale| %>
              <li><%= link_to t("georgia.#{locale}"), edit_page_revision_path(@page, @revision, locale: locale) %></li>
            <% end -%>
          </ul>
        </div>
      </p>
    <% end -%>
  </div>
  <div class="fieldset-fields">
    <%= warning_message(@page, @revision) %>
    <%= f.input :text, label: false, as: :ckeditor, input_html: {toolbar: 'Full'} %>
  </div>
</fieldset>
<fieldset>
  <div class="fieldset-help">
    <legend>SEO</legend>
    <p class="hint">
      The excerpt and keywords will be included as &lt;meta&gt; description and keywords tags, useful for search engines.
    </p>
  </div>
  <div class="fieldset-fields">
    <%= f.input :excerpt, as: :text, label: 'Excerpt/Description', input_html: {rows: 3}, hint: "Describe in a short paragraph what this page is about." %>
    <%= f.input :keyword_list, label: 'Keywords', hint: "Comma-separated list of keywords, e.g. spiderman, superman, comics, superhero.", input_html: {class: 'js-token-input'} %>
  </div>
</fieldset>
<fieldset>
  <div class="fieldset-help">
    <legend>Featured Image</legend>
  </div>
  <div class="fieldset-fields">
    <%= choose_image_tag(@content, target: 'revision_content_image', input: f.hidden_field(:image_id)) %>
  </div>
</fieldset>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
georgia-0.7.6 app/views/georgia/revisions/fields/_content.html.erb
georgia-0.7.5 app/views/georgia/revisions/fields/_content.html.erb
georgia-0.7.4 app/views/georgia/revisions/fields/_content.html.erb
georgia-0.7.3 app/views/georgia/revisions/fields/_content.html.erb
georgia-0.7.2 app/views/georgia/revisions/fields/_content.html.erb
georgia-0.7.1 app/views/georgia/revisions/fields/_content.html.erb
georgia-0.7.0 app/views/georgia/revisions/fields/_content.html.erb