Event editing tweaks

This commit is contained in:
Petko Bordjukov 2016-10-09 02:48:35 +03:00
parent 6e1090810a
commit c44654f79f
3 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,7 @@
.panel.panel-default .panel.panel-default
.panel-heading .panel-heading
.panel-title .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 .panel-body
.form-group.text-center .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' = form.link_to_add t('actions.create.button', model: Participation.model_name.human), :participations, data: {target: '#participations'}, class: 'btn btn-success'

View File

@ -29,3 +29,5 @@
.btn-group .btn-group
= action_buttons(@conference, @event, [:index, :show]) = action_buttons(@conference, @event, [:index, :show])
= f.submit class: 'btn btn-warning' = f.submit class: 'btn btn-warning'
hr

View File

@ -46,6 +46,7 @@ bg:
new: new:
title_f: "Нова %{model}" title_f: "Нова %{model}"
title_m: "Нов %{model}" title_m: "Нов %{model}"
title_c: "Ново %{model}"
view: view:
button: "Прегледай %{model}" button: "Прегледай %{model}"
title: "Преглед на %{model}" title: "Преглед на %{model}"