Les boutons pour les notes sont plus sympas

This commit is contained in:
echarp 2014-09-20 17:47:46 +02:00
parent 3616199b43
commit 8b3c580f33
4 changed files with 15 additions and 7 deletions

View File

@ -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'

View File

@ -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'

View File

@ -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

View File

@ -198,7 +198,7 @@ Exemple: `%{daylimit}`"
form:
save: Envoyer
ok: Enregistrer
ko: Annuler
ko: Modération
maps:
index:
title: Carte des événements