<%= t('admin.users.user_roles')%>

<%= link_to raw(" #{t('admin.users.add_user_role')}"), {action: :new}, class: "btn btn-primary pull-right" %>
<% @user_roles.each do |f| %> <% end %>
<%= t('admin.table.id') %> <%= t('admin.table.name') %> <%= t('admin.table.description') %> <%= t('admin.table.actions') %>
<%= f.id %> <%= f.name %> <%= f.description %> <%= link_to raw(''), {action: :edit, id: f.id }, class: "btn btn-default btn-xs", title: "#{t('admin.button.edit')}" %> <%= link_to raw(''), { action: :destroy, id: f.id }, method: :delete, data: { confirm: t('admin.message.delete_item') }, class: "btn btn-danger btn-xs", title: "#{t('admin.button.delete')}" %>
<%= content_tag("div", raw(t('admin.message.data_found_list')), class: "alert alert-warning") if @user_roles.empty? %> <%= raw do_pagination(@user_roles) %>