Sha256: 9b233d8712755bec3fa7bdecf573124e9572e7e70c8cedc673b10625002c9d1f

Contents?: true

Size: 931 Bytes

Versions: 11

Compression:

Stored size: 931 Bytes

Contents

<% use_page_title "Redirects" %>
<%= render layout: 'page_title' do %>
    <%= link_to "Add", new_redirect_path, class: 'btn btn-primary btn-small right' %>
<% end %>
<%= render layout: 'main_content' do %>
    <table class="data cms-content-table table table-striped table-bordered table-hover">
      <thead>
      <tr>
        <th>From</th>
        <th>To</th>
        <th>Actions</th>
      </tr>
      </thead>
      <% @redirects.each do |redirect| %>
          <tr>
            <td><%= redirect.from_path %></td>
            <td><%= redirect.to_path %></td>
            <td>
              <%= link_to "Edit", edit_polymorphic_path(redirect), class: "btn btn-mini" %>
              <%= link_to "Delete", polymorphic_path(redirect), class: "btn btn-mini btn-danger", method: 'delete', data: {confirm: 'Are you sure you want to delete this redirect?'} %>
            </td>
          </tr>
      <% end %>
    </table>
<% end %>

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
browsercms-artirix-4.0.4 app/views/cms/redirects/index.html.erb
browsercms-artirix-4.0.3.3 app/views/cms/redirects/index.html.erb
browsercms-artirix-4.0.3.2 app/views/cms/redirects/index.html.erb
browsercms-artirix-4.0.3.1 app/views/cms/redirects/index.html.erb
browsercms-artirix-4.0.3 app/views/cms/redirects/index.html.erb
browsercms-artirix-4.0.2 app/views/cms/redirects/index.html.erb
browsercms-artirix-4.0.1.1 app/views/cms/redirects/index.html.erb
browsercms-artirix-4.0.0.rc1.art4 app/views/cms/redirects/index.html.erb
browsercms-4.0.0.rc1 app/views/cms/redirects/index.html.erb
browsercms-4.0.0.beta app/views/cms/redirects/index.html.erb
browsercms-4.0.0.alpha app/views/cms/redirects/index.html.erb