X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fvideo_genre%2Flist.rhtml;fp=app%2Fviews%2Fvideo_genre%2Flist.rhtml;h=e918ec557455490f2b0630dbf6df1ba4917c69f7;hb=d9ccb8cf52aee119343545cb734e185580daf352;hp=2e647273a5f06991bc26d515cfe22c263396f46d;hpb=d2081caee4ce19c6d9638fdb18d77a3c3b80e587;p=cs356-p2-videostore.git diff --git a/app/views/video_genre/list.rhtml b/app/views/video_genre/list.rhtml index 2e64727..e918ec5 100644 --- a/app/views/video_genre/list.rhtml +++ b/app/views/video_genre/list.rhtml @@ -1,20 +1,14 @@ -
<%= column.human_name %> | - <% end %> +Name | |||
---|---|---|---|---|
<%=h video_genre.send(column.name) %> | - <% end %> -<%= link_to 'Show', :action => 'show', :id => video_genre %> | +<%= link_to video_genre.name, :action => 'show', :id => video_genre %> | <%= link_to 'Edit', :action => 'edit', :id => video_genre %> | -<%= link_to 'Destroy', { :action => 'destroy', :id => video_genre }, :confirm => 'Are you sure?', :method => :post %> |