Sha256: 7e76f5331c9f1be745d13436ea8b79bcd8ac75b24984f32d406017a5688e3d9c

Contents?: true

Size: 725 Bytes

Versions: 11

Compression:

Stored size: 725 Bytes

Contents

<% content_for :page_heading do %>
  <h2>
    <%= case @section
        when 'titles' then t('.title_settings')
        when 'permalinks' then t('.permalinks')
        else t('.global_settings')
        end %>
  </h2>
<% end %>

<%= error_messages_for 'blog' %>

<%= form_tag admin_seo_path, method: :put do %>
  <%= case @section
      when 'titles' then render 'titles'
      when 'permalinks' then render 'permalinks'
      else render 'general'
      end %>

  <%= hidden_field_tag 'section', @section %>
  <div class='form-group'>
    <hr />
    <%= link_to(t('.cancel'), admin_seo_path(section: @section)) %>
    <%= t('.or') %>
    <%= submit_tag(t('.update_settings'), class: 'btn btn-success') %>
  </div>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
publify_core-9.2.10 app/views/admin/seo/show.html.erb
publify_core-9.2.9 app/views/admin/seo/show.html.erb
publify_core-9.2.8 app/views/admin/seo/show.html.erb
publify_core-9.2.7 app/views/admin/seo/show.html.erb
publify_core-9.2.6 app/views/admin/seo/show.html.erb
publify_core-9.2.5 app/views/admin/seo/show.html.erb
publify_core-9.2.4 app/views/admin/seo/show.html.erb
publify_core-9.2.3 app/views/admin/seo/show.html.erb
publify_core-9.2.2 app/views/admin/seo/show.html.erb
publify_core-9.2.1 app/views/admin/seo/show.html.erb
publify_core-9.2.0 app/views/admin/seo/show.html.erb