Sha256: e7fb18395b7bb1697eacd96fcb585f75628c3921b8e0ea27ea797840c488b576
Contents?: true
Size: 1.7 KB
Versions: 8
Compression:
Stored size: 1.7 KB
Contents
<% content_for :title do %> <%= t('binda.manage_users') %> <% end %> <% content_for :header do %> <div class="main-header--buttons" class="main-header--link b-btn b-btn-primary"> <a href="<%= new_manage_user_path %>" class="main-header--link b-btn b-btn-primary"> <i class="fa fa-plus" aria-hidden="true"></i> <%= t('binda.new') %> <%= t('binda.user') %> </a> </div> <h3> <%= t('binda.manage_users') %> </h3> <% end %> <% content_for :content do %> <div class="main-table--container"> <table class="standard-form--container"> <thead class="standard-form--header"> <tr> <th colspan="7">Email</th> <th colspan="3"></th> </tr> </thead> <tbody> <% @users.order( :email ).each.with_index(1) do |manage_user, index| %> <tr> <td colspan="7"><%= manage_user.email %></td> <td colspan="3" class="main-table--actions"> <a href="<%= edit_manage_user_path( manage_user.id ) %>"> <i class="fas fa-pencil-alt"></i> <%= t('binda.edit') %> </a> <a href="<%= manage_user_path( manage_user.id ) %>" class="text-destroy" data-method="delete" data-confirm="<%= t('binda.confirm_delete') %>"> <i class="far fa-trash-alt"></i> <%= t('binda.delete') %> </a> </tr> <% end %> </tbody> </table> <a href="<%= new_manage_user_path %>" class="main-header--link b-btn b-btn-primary"> <i class="fa fa-plus" aria-hidden="true"></i> <%= t('binda.new') %> <%= t('binda.user') %> </a> </div> <% end %>
Version data entries
8 entries across 8 versions & 1 rubygems