Base legislation processes and draft versions page structure for public site
This commit is contained in:
12
app/views/legislation/draft_versions/changes.html.erb
Normal file
12
app/views/legislation/draft_versions/changes.html.erb
Normal file
@@ -0,0 +1,12 @@
|
||||
<div class="row">
|
||||
<h2><%= @process.title %></h2>
|
||||
<h2><%= @draft_version.title %></h2>
|
||||
|
||||
<div>
|
||||
<%= link_to t('.see_text'), legislation_process_draft_version_path(@process, @draft_version) %>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<%= markdown @draft_version.changelog %>
|
||||
</div>
|
||||
</div>
|
||||
12
app/views/legislation/draft_versions/show.html.erb
Normal file
12
app/views/legislation/draft_versions/show.html.erb
Normal file
@@ -0,0 +1,12 @@
|
||||
<div class="row">
|
||||
<h2><%= link_to @process.title, @process %></h2>
|
||||
<h2><%= @draft_version.title %></h2>
|
||||
|
||||
<div>
|
||||
<%= link_to t('.see_changes'), legislation_process_draft_version_changes_path(@process, @draft_version) %>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<%= @draft_version.body_in_html.html_safe %>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user