Sha256: 64cb24377dd0cdf88906b9249b446ac4b115bf667ba378be9a43e2b13936edb6

Contents?: true

Size: 390 Bytes

Versions: 5

Compression:

Stored size: 390 Bytes

Contents

<h1>Listing Users</h1>

<table class='table table-striped'>
	<thead>
  <tr>	
			<th>Name</th>
	    <th>Email</th>
			<th>Admin?</th>
	  </tr>
	</thead>
	
	<tbody>
		<% @users.each do |user| %>
		  <tr>
		    <td><%= user.name %></td>
				<td><%= user.email %></td>
				<td><%= user.admin? ? 'YES' : 'no' %></td>
		  </tr>
		<% end %>
	</tbody>
</table>

<%= render 'shared/admin_sidebar' %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tkh_authentication-0.0.5 app/views/users/index.html.erb
tkh_authentication-0.0.4 app/views/users/index.html.erb
tkh_authentication-0.0.3 app/views/users/index.html.erb
tkh_authentication-0.0.2 app/views/users/index.html.erb
tkh_authentication-0.0.1 app/views/users/index.html.erb