harvest thumbnail title linking to the harvest itself

This commit is contained in:
Brenda Wallace committed 2016-09-18 18:33:28 +12:00
1 parent 286b7118be
commit 13e491cda7
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
.panel.panel-success
.panel-heading
%h3.panel-title
= link_to "#{harvest.owner.login_name}'s harvest", harvest.owner
= link_to "#{harvest.owner.login_name}'s #{harvest.crop.name} harvest", harvest
- if can? :edit, harvest
%a.pull-right{:href => edit_harvest_path(harvest), :role => "button", :id => "edit_harvest_glyphicon"}
%span.glyphicon.glyphicon-pencil{:title => "Edit"}