Sha256: f4a264602766e159b53c92e544afab50ef43a2aeadf4a5c8db9eddc54281fc6e

Contents?: true

Size: 462 Bytes

Versions: 1

Compression:

Stored size: 462 Bytes

Contents

%h1 Users

%table
  %tr
    %th username
    %th last name
    %th first name
    %th email
    %th
    %th
    %th

  - @users.each do |user|
    %tr
      %th= user.username
      %th= user.last_name
      %th= user.first_name
      %th= user.email
      %th= link_to 'Show', user
      %th= link_to 'Edit', edit_user_path(user)
      %th= link_to 'Destroy', user, method: :delete, data: { confirm: 'Are you sure?' }

%br

= link_to 'New User', new_user_path

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alberich-0.2.0 test/dummy/app/views/users/index.html.haml