Created
April 7, 2012 02:35
-
-
Save mdobson/2324608 to your computer and use it in GitHub Desktop.
Before delegates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% @subjs.each do |subj| %> | |
<tr> | |
<th><%= subj.id %></th> | |
<th><%= subj.identifier %></th> | |
<th><%= subj.user.email %></th> | |
<th><%= link_to "Edit Subject", edit_study_example_subject_path(@study,subj) %></th> | |
<th> | |
<%= form_for [@study, subj] , :html => {:method => :delete} do |f| %> | |
<%= f.submit "Delete", :class => "btn btn-info" %> | |
<% end %> | |
</th> | |
<th><%= subj.created_at %></th> | |
</tr> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment