<%= l(:text_commission_reps) %>
<% if @reps.empty? %><%= l(:label_no_data) %>
<% else %>| <%= l(:label_user) %> | <%= l(:field_commission_rep_probation_until) %> | <%= l(:field_active) %> | |
|---|---|---|---|
| <%= link_to_user rep.user %> | <%= format_date(rep.probation_until) %> | <%= checked_image rep.active? %> | <%= link_to sprite_icon('edit', l(:button_edit)), edit_commission_rep_path(rep), class: 'icon icon-edit' %> <%= link_to sprite_icon('del', l(:button_delete)), commission_rep_path(rep), method: :delete, data: { confirm: l(:text_are_you_sure) }, class: 'icon icon-del' %> |