Sha256: 2c54020150847202ba5fad22ff2ff4f18b36398c445e36e0f6803415e8ac54d2

Contents?: true

Size: 389 Bytes

Versions: 3

Compression:

Stored size: 389 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? ? '✓' : 'X' %></td>
		  </tr>
		<% end %>
	</tbody>
</table>

<%= render 'shared/admin_sidebar' %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tkh_authentication-0.0.8 app/views/users/index.html.erb
tkh_authentication-0.0.7 app/views/users/index.html.erb
tkh_authentication-0.0.6 app/views/users/index.html.erb