Replace old open_phase? method for new phase/publication open? on Legislative Process

This commit is contained in:
Bertocq
2017-06-13 20:33:41 +02:00
parent 12dc7a4790
commit 523988a291
8 changed files with 9 additions and 9 deletions

View File

@@ -6,7 +6,7 @@
<div class="comments-wrapper">
<div class="comment-input">
<% if !@process.open_phase?(:allegations) %>
<% if !@process.allegations_phase.open? %>
<div data-alert class="callout primary">
<%= t("legislation.annotations.form.phase_not_open") %>
</div>