projects
/
cs356-p2-videostore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Small Cleanups + Merchandise Search
[cs356-p2-videostore.git]
/
app
/
views
/
login
/
list_users.rhtml
1
<h1>Employees</h1>
2
3
<p>Press the "[X]" next to the username to delete that user</p>
4
5
<ul>
6
<% for user in @all_users %>
7
<li><%=link_to "[X]", { # link_to options
8
:controller => 'login',
9
:action => 'delete_user',
10
:id => user },
11
{ # html options
12
:method => :post,
13
:confirm => "Really delete #{user.name}?"
14
} %>
15
<%=h user.name %>
16
</li>
17
<% end %>
18
</ul>