Sha256: 0f56f3efb846cda8d91d58ebe2c815d0f73081d9797565b2bc521faac3a63f61

Contents?: true

Size: 560 Bytes

Versions: 7

Compression:

Stored size: 560 Bytes

Contents

h1 Listing Users

table
  thead
    tr<% if config[:adding_first_and_last_name] %>
      th First Name
      th Last Name<% end %>
      th Email
      th
      th
      th

  tbody
    - @users.each do |user|
      tr<% if config[:adding_first_and_last_name] %>
        td= user.first_name
        td= user.last_name<% end %>
        td= user.email
        td= link_to 'Show', user
        td= link_to 'Edit', edit_user_path(user)
        td= link_to 'Destroy', user, data: { confirm: 'Are you sure?' }, method: :delete

br

= link_to 'New User', signup_path

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
voyage-1.44.0.6 lib/voyage/templates/users_index.html.slim.erb
voyage-1.44.0.5 lib/voyage/templates/users_index.html.slim.erb
voyage-1.44.0.4 lib/voyage/templates/users_index.html.slim.erb
voyage-1.44.0.3 lib/voyage/templates/users_index.html.slim.erb
voyage-1.44.0.2 lib/voyage/templates/users_index.html.slim.erb
voyage-1.44.0.1 lib/voyage/templates/users_index.html.slim.erb
voyage-1.0 lib/voyage/templates/users_index.html.slim.erb