Skip to content

anonymous /_user.html.erb

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
users/index
<% title "Events" %>
<table >
<tr>
<th><%= sortable "Starts_at" %></th>
<th><%= sortable "Finishes" %></th>
<th><%= sortable "Event_name" %></th>
<th><%= sortable "Tracks" %></th>
</tr>
<td>
<% @user.events.each do |event| %>
<tr>
<td><%= event.starts_at %></td>
<td><%= event.finishes %></td>
<td><%= event.event_name %></td>
<td><%= event.tracks %></td>
</tr>
<% end %>
</table>
<h1>Listing events</h1>
<%= render :partial => "user", :collection => @users %>
<br />
<%= link_to 'New Event', new_event_path %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.