From b1c8cc4b02323000349a84c510319278f556abf3 Mon Sep 17 00:00:00 2001 From: Alexandr Dubitsky Date: Tue, 24 Jul 2018 17:00:05 +0300 Subject: [PATCH] Add also available translations --- app/views/news/show.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/news/show.html.haml b/app/views/news/show.html.haml index f805d79c..ca5b0169 100644 --- a/app/views/news/show.html.haml +++ b/app/views/news/show.html.haml @@ -1,6 +1,7 @@ %h1=h @news.title -%p.news_date=format_date(@news.created_at) +%p.news_date= format_date(@news.created_at) +%p.avail_translations= translations_article(@news) #text-align: right;margin-top: -2.7em; %p.abstract= textilize_without_paragraph(@news.lead) .texttext= textilize(@news.body) %p.author