From 523efed5e21281cca8e25456be032f9ef820684b Mon Sep 17 00:00:00 2001 From: cedricnjanga Date: Fri, 1 Jun 2018 06:11:02 -0700 Subject: Refs #6955 Add some new translations --- app/views/line_footnotes/_footnote_fields.html.slim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/views') diff --git a/app/views/line_footnotes/_footnote_fields.html.slim b/app/views/line_footnotes/_footnote_fields.html.slim index 28fcde5ab..acb772b00 100644 --- a/app/views/line_footnotes/_footnote_fields.html.slim +++ b/app/views/line_footnotes/_footnote_fields.html.slim @@ -1,10 +1,10 @@ .nested-fields.col-lg-4.col-md-4.col-sm-6.col-xs-12 .panel.panel-default .panel-body - = f.input :code, label: 'Titre' - = f.input :label, label: 'Texte' + = f.input :code, label: Chouette::Footnote.tmf(:code) + = f.input :label, label: Chouette::Footnote.tmf(:label) .text-right - = link_to_remove_association f, class: 'btn btn-outline-danger', data: { confirm: 'Etes-vous sûr(e) ?' }, title: t('actions.delete') do + = link_to_remove_association f, class: 'btn btn-outline-danger', data: { confirm: t('are_you_sure') }, title: t('actions.delete') do span.fa.fa-trash / span = t('actions.delete') -- cgit v1.2.3 From 4d47a57a5dcfbcbf69b0525fc10bf91e71b8eba4 Mon Sep 17 00:00:00 2001 From: cedricnjanga Date: Fri, 1 Jun 2018 07:18:41 -0700 Subject: Refs #6955 Small update on some decorators to fix data-confirm display bug --- app/views/line_footnotes/_footnote_fields.html.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views') diff --git a/app/views/line_footnotes/_footnote_fields.html.slim b/app/views/line_footnotes/_footnote_fields.html.slim index acb772b00..d69b29a2b 100644 --- a/app/views/line_footnotes/_footnote_fields.html.slim +++ b/app/views/line_footnotes/_footnote_fields.html.slim @@ -5,6 +5,6 @@ = f.input :label, label: Chouette::Footnote.tmf(:label) .text-right - = link_to_remove_association f, class: 'btn btn-outline-danger', data: { confirm: t('are_you_sure') }, title: t('actions.delete') do + = link_to_remove_association f, class: 'btn btn-outline-danger', data: { confirm: t('footnotes.actions.destroy_confirm') }, title: t('actions.delete') do span.fa.fa-trash / span = t('actions.delete') -- cgit v1.2.3