From c44654f79f5c8e491e8860366fd02f4850845ee8 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Sun, 9 Oct 2016 02:48:35 +0300 Subject: [PATCH] Event editing tweaks --- app/views/management/events/_form_participations.html.slim | 2 +- app/views/management/events/edit.html.slim | 2 ++ config/locales/bg.yml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/management/events/_form_participations.html.slim b/app/views/management/events/_form_participations.html.slim index 115a2a1..021f353 100644 --- a/app/views/management/events/_form_participations.html.slim +++ b/app/views/management/events/_form_participations.html.slim @@ -14,7 +14,7 @@ .panel.panel-default .panel-heading .panel-title - = t 'actions.new.title_f', model: Participation.model_name.human + = t 'actions.new.title_c', model: Participation.model_name.human.mb_chars.downcase .panel-body .form-group.text-center = form.link_to_add t('actions.create.button', model: Participation.model_name.human), :participations, data: {target: '#participations'}, class: 'btn btn-success' diff --git a/app/views/management/events/edit.html.slim b/app/views/management/events/edit.html.slim index 766dc40..e55003d 100644 --- a/app/views/management/events/edit.html.slim +++ b/app/views/management/events/edit.html.slim @@ -29,3 +29,5 @@ .btn-group = action_buttons(@conference, @event, [:index, :show]) = f.submit class: 'btn btn-warning' + +hr diff --git a/config/locales/bg.yml b/config/locales/bg.yml index 06051a2..26d81c7 100644 --- a/config/locales/bg.yml +++ b/config/locales/bg.yml @@ -46,6 +46,7 @@ bg: new: title_f: "Нова %{model}" title_m: "Нов %{model}" + title_c: "Ново %{model}" view: button: "Прегледай %{model}" title: "Преглед на %{model}"