Add custom site titles

This commit is contained in:
pfischbeck committed 2017-11-23 17:09:16 +01:00
1 parent 0323456d2c
commit 084a640021
10 files changed
+34 -2

No files matched your search

@@ -1,3 +1,5 @@
<% provide(:title, Translation.model_name.human(count: 2)) %>
<h1><%= Translation.model_name.human(count: 2) %></h1>
<%= render 'translation_pagination' %>
@@ -1,3 +1,5 @@
<% provide(:title, t('problems.show.problem_subtitle', id: @translation.problem_id)) %>
<div class="page-header">
<h1><%= @translation.title %> <small><%= t 'problems.show.problem_subtitle', id: @translation.problem_id %></small></h1>
</div>