Don’t show new annotation/comment form if allegations phase is not open
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
<section class="legislation-annotatable"
|
||||
data-legislation-draft-version-id="<%= @draft_version.id %>"
|
||||
data-legislation-annotatable-base-url="<%= legislation_process_draft_version_path(@process, @draft_version) %>"
|
||||
data-legislation-open-phase="<%= @process.open_phase?(:allegations) %>"
|
||||
>
|
||||
<% end %>
|
||||
<%= @draft_version.body_html.html_safe %>
|
||||
|
||||
Reference in New Issue
Block a user