Sha256: 44d26bcaadd3d9dd2e7256b7287d7fb0e26314f1514dabd17fc832d34462f918

Contents?: true

Size: 751 Bytes

Versions: 6

Compression:

Stored size: 751 Bytes

Contents

<%=content_for :data_controls do%>
<%=link_to "New Snippet",new_admin_snippet_path(),:class => "btn btn-primary",:title => "New Snippet"%>
<%end%>
<%=content_for :detail do%>
  <div class="page_list">
      <%@snippets.each do |snippet|%>
        <div class="page_row">

          <span class="row_meta"><%=link_to snippet.name,edit_admin_snippet_path(:id => snippet.id)%></span>

          <span class="edit_controls">

            <%=link_to "Remove",admin_snippet_path(:id => snippet.id),:method => :delete,:class => 'btn btn-danger', :data => {:confirm => "Are you sure you want to remove this snippet?"} %>
          </span>
          <br style="clear:both;"/>
        </div>
      <%end%>
      <%=will_paginate @snippets%>

  </div>



<%end%>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tb_cms-1.1.5 app/views/admin/snippets/index.html.erb
tb_cms-1.1.4 app/views/admin/snippets/index.html.erb
tb_cms-1.1.3 app/views/admin/snippets/index.html.erb
tb_cms-1.1.2 app/views/admin/snippets/index.html.erb
tb_cms-1.1.1 app/views/admin/snippets/index.html.erb
tb_cms-1.1.0 app/views/admin/snippets/index.html.erb