Base legislation processes and draft versions page structure for public site
This commit is contained in:
5
app/views/legislation/processes/index.html.erb
Normal file
5
app/views/legislation/processes/index.html.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
<div class="row">
|
||||
<% @processes.each do |process| %>
|
||||
<%= link_to process.title, process %><br/>
|
||||
<% end %>
|
||||
</div>
|
||||
9
app/views/legislation/processes/show.html.erb
Normal file
9
app/views/legislation/processes/show.html.erb
Normal file
@@ -0,0 +1,9 @@
|
||||
<div class="row">
|
||||
|
||||
<h1><%= @process.title %></h1>
|
||||
|
||||
<% @process.draft_versions.each do |draft_version| %>
|
||||
<%= link_to draft_version.title, legislation_process_draft_version_path(@process, draft_version) %>
|
||||
<% end %>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user