Sha256: 6961c676c91c1521ff5502ce9953712adbe39301402d9bc8ee2afff2ae5dc299

Contents?: true

Size: 832 Bytes

Versions: 10

Compression:

Stored size: 832 Bytes

Contents

<h1>Templates</h1>
<table class="table table-striped">
  <thead>
    <tr>
      <th>Path</th>
      <th>Format</th>
      <th>Locale</th>
      <th>Handler</th>
      <th>Actions</th>
    </tr>
  </thead>
  <tbody>
    <% @templates.each do |template| %>
      <tr>
        <td><%= template.path %></td>
        <td><%= template.format %></td>
        <td><%= template.locale %></td>
        <td><%= template.handler %></td>
        <td>
          <%= link_to 'Edit', kuztuscms.edit_template_path(template), :class => 'btn btn-mini' %>
          <%= link_to 'Destroy', kuztuscms.template_path(template), :method => :delete, :confirm => 'Are you sure?', :class => 'btn btn-mini btn-danger' %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

<%= link_to 'New', kuztuscms.new_template_path, :class => 'btn btn-primary' %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
kuztuscms-0.0.10 app/views/kuztuscms/templates/index.html.erb
kuztuscms-0.0.9 app/views/kuztuscms/templates/index.html.erb
kuztuscms-0.0.8 app/views/kuztuscms/templates/index.html.erb
kuztuscms-0.0.7 app/views/kuztuscms/templates/index.html.erb
kuztuscms-0.0.6 app/views/kuztuscms/templates/index.html.erb
kuztuscms-0.0.5 app/views/kuztuscms/templates/index.html.erb
kuztuscms-0.0.4 app/views/kuztuscms/templates/index.html.erb
kuztuscms-0.0.3 app/views/kuztuscms/templates/index.html.erb
kuztuscms-0.0.2 app/views/kuztuscms/templates/index.html.erb
kuztuscms-0.0.1 app/views/kuztuscms/templates/index.html.erb