24 lines
439 B
Plaintext
24 lines
439 B
Plaintext
|
%h1 Listing members
|
||
|
|
||
|
%table
|
||
|
%thead
|
||
|
%tr
|
||
|
%th Name
|
||
|
%th Public
|
||
|
%th
|
||
|
%th
|
||
|
%th
|
||
|
|
||
|
%tbody
|
||
|
- @members.each do |member|
|
||
|
%tr
|
||
|
%td= member.name
|
||
|
%td= member.public
|
||
|
%td= link_to 'Show', member
|
||
|
%td= link_to 'Edit', edit_member_path(member)
|
||
|
%td= link_to 'Destroy', member, method: :delete, data: { confirm: 'Are you sure?' }
|
||
|
|
||
|
%br
|
||
|
|
||
|
= link_to 'New Member', new_member_path
|