master
<% if policy(@opportunity).edit? && @opportunity.approved? %> <li> <a href='<%= edit_opportunity_path %>'><%= t('edit') %></a> </li> <% end %>