Set title for process and draft versions pages

This commit is contained in:
Amaia Castro
2016-12-22 17:34:47 +01:00
parent f68b6a2f32
commit 243429aa41
6 changed files with 9 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
<% provide :title do %><%= "#{@draft_version.title} - #{t('.title')} - #{@process.title}" %><% end %>
<div class="row">
<h2><%= @process.title %></h2>
<h2><%= @draft_version.title %></h2>

View File

@@ -1,3 +1,5 @@
<% provide :title do %><%= "#{@draft_version.title} - #{@process.title}" %><% end %>
<div class="row">
<h2><%= link_to @process.title, @process %></h2>
<h2><%= @draft_version.title %></h2>