ruling_timer/app/views/admin/ruling_timers/_sections_content.html.erb

10 lines
543 B
Plaintext

<% @sections.each_with_index do |section,i| %>
<tr>
<td class="section_name_td"><%=section.section_name%></td>
<td class="tasl_count_td"><%=section.task_count %></td>
<td>
<a href="#" data-href="<%=edit_section_admin_ruling_timer_path(:id=>section.id)%>" class="btn btn-primary modal_link"><%=t("ruling_timer.edit_section")%></a>
<a href="#" class="btn btn-danger delete_section" data-section="<%=section.section_name%>" data-section-id="<%=section.id.to_s%>"><%=t("ruling_timer.delete_section")%></a>
</td>
</tr>
<% end %>