32 lines
1018 B
Plaintext
32 lines
1018 B
Plaintext
|
<span id="index_table">
|
||
|
<table class="table main-list">
|
||
|
<thead>
|
||
|
<tr class="sort-header">
|
||
|
<th>Section Title</th>
|
||
|
<th>Section Description</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<% @sections.each do |section| %>
|
||
|
<tr>
|
||
|
<td>
|
||
|
<%= section.section_title %>
|
||
|
<div class="quick-edit">
|
||
|
<ul class="nav nav-pills">
|
||
|
<li><a href="<%= edit_section_admin_survey_path(section) %>"><%= t(:edit) %></a></li>
|
||
|
<li><a class="delete text-error" data-method="delete" data-confirm="Are you sure?" href="<%= delete_section_admin_survey_path(section) %>"><%= t(:delete_) %></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td><%= section.section_description %></td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</span>
|
||
|
|
||
|
<div class="bottomnav clearfix">
|
||
|
<div class="pull-right">
|
||
|
<a href="<%= add_section_admin_survey_path %>" class="btn btn-primary">Add Section</a>
|
||
|
</div>
|
||
|
</div>
|