1
0
This repository has been archived on 2023-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
cryptogopher b7b7401833 Updated Quantity to use Formula
and upgraded controller actions to match Measurement/Ingredient
2020-02-19 17:57:29 +01:00

15 lines
367 B
Plaintext

<div class="contextual">
<% if User.current.allowed_to?(:manage_common, @project) %>
<%= link_to t(".link_new_quantity"), new_project_quantity_path(@project),
{remote: true, class: 'icon icon-add'} %>
<% end %>
</div>
<div id="new-quantity">
</div>
<h2><%= t ".heading" %></h2>
<div id='quantities'>
<%= render partial: 'quantities/index' %>
</div>