diff --git a/app/views/moderations/validate.html.haml b/app/views/moderations/validate.html.haml index 765812b1..fa3ade31 100644 --- a/app/views/moderations/validate.html.haml +++ b/app/views/moderations/validate.html.haml @@ -13,7 +13,7 @@ %em.fa.fa-arrow-left =t '.ko' - = f.button name: :yes do + = f.button do %em.fa.fa-thumbs-up =t '.ok' diff --git a/app/views/notes/_form.html.haml b/app/views/notes/_form.html.haml index e8ce15c2..bb9b6bcd 100644 --- a/app/views/notes/_form.html.haml +++ b/app/views/notes/_form.html.haml @@ -25,10 +25,18 @@ #{t 'signature', scope: [:note_mailer, :notify]} .actions - = f.submit t('.save') - = link_to t('.ko'), moderations_url, class: :button + = link_to moderations_url do + %em.fa.fa-arrow-left + =t '.ko' + = f.button do + %em.fa.fa-bullhorn + =t '.save' - else .actions - = f.submit t('.ok') - = link_to t('.ko'), moderations_url, class: :button + = link_to moderations_url do + %em.fa.fa-arrow-left + =t '.ko' + = f.button do + %em.fa.fa-bullhorn + =t '.ok' diff --git a/config/locales/views/en.yml b/config/locales/views/en.yml index 6deb4fe2..6ff3db28 100644 --- a/config/locales/views/en.yml +++ b/config/locales/views/en.yml @@ -191,7 +191,7 @@ don't hesitate to repeat each time these informations, they are important. form: save: Submit ok: Save - ko: Cancel + ko: Moderation maps: index: title: Events map diff --git a/config/locales/views/fr.yml b/config/locales/views/fr.yml index e9aa0d5c..481f29d1 100644 --- a/config/locales/views/fr.yml +++ b/config/locales/views/fr.yml @@ -198,7 +198,7 @@ Exemple: `%{daylimit}`" form: save: Envoyer ok: Enregistrer - ko: Annuler + ko: Modération maps: index: title: Carte des événements