A calendar management project, for events and activities related to communities fighting for freedoms.
This can be related to software, art, data, hardware, content, commons, internet.
https://www.agendadulibre.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
agenda-libre-ruby/app/views/users/index.html.haml

24 lines
717 B

%h1= User.model_name.human.pluralize
%table.list
%tr
%th= User.human_attribute_name :login
%th= User.human_attribute_name :email
%th= User.human_attribute_name :firstname
%th= User.human_attribute_name :lastname
%th
- @users.each do |user|
%tr{ class: cycle('odd', 'even') }
%td= user.login
%td= user.email
%td= user.firstname
%td= user.lastname
%td
= link_to user, class: 'view_link' do
%em.fa.fa-eye
= link_to t('edit'), edit_user_path(user), class: 'edit_link'
= link_to t('destroy'), user, method: :delete,
data: { confirm: 'Are you sure?' }, class: 'delete_link'
.actions= link_to 'New User', new_user_path