displays appropriate permission messages in accepting phase
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<%= t("budgets.phase.#{@budget.phase}") %>
|
||||
</p>
|
||||
|
||||
<% if can?(:create, Budget::Investment.new(budget: @budget))%>
|
||||
<% if @budget.accepting? %>
|
||||
<% if current_user %>
|
||||
<% if current_user.level_two_or_three_verified? %>
|
||||
<%= link_to t("budgets.investments.index.sidebar.create"), new_budget_investment_path(@budget), class: "button margin-top expanded" %>
|
||||
|
||||
Reference in New Issue
Block a user