Username | Password hash | Role | ||
---|---|---|---|---|
<%= user.username %> | <%= user.email %> | <%= user.password_hash %> | <%= user.role %> | <%= link "Show", to: user_path(@conn, :show, user), class: "btn btn-default btn-xs" %> <%= link "Edit", to: user_path(@conn, :edit, user), class: "btn btn-default btn-xs" %> <%= link "Delete", to: user_path(@conn, :delete, user), method: :delete, data: [confirm: "Are you sure?"], class: "btn btn-danger btn-xs" %> |