Base legislation processes and draft versions page structure for public site

This commit is contained in:
Amaia Castro
2016-12-14 15:13:48 +01:00
parent e4315f94c8
commit 766f509f8e
12 changed files with 93 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
<div class="row">
<% @processes.each do |process| %>
<%= link_to process.title, process %><br/>
<% end %>
</div>

View 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>