From bdd522a5ff3c41f3c191f85804bc984884091970 Mon Sep 17 00:00:00 2001 From: echarp Date: Mon, 22 May 2017 16:49:34 +0200 Subject: [PATCH] Small addition on the validation form --- app/views/moderations/validate.html.haml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/views/moderations/validate.html.haml b/app/views/moderations/validate.html.haml index 7990bdc9..688d1517 100644 --- a/app/views/moderations/validate.html.haml +++ b/app/views/moderations/validate.html.haml @@ -6,13 +6,14 @@ %h2.warning= t '.warning' = form_for @moderation, url: { action: :accept }, html: { method: :put } do |f| - = link_to moderations_path do - %em.fa.fa-arrow-left - = t '.ko' + .actions + = link_to moderations_path do + %em.fa.fa-arrow-left + = t '.ko' - = f.button do - %em.fa.fa-thumbs-up - = t '.ok' + = f.button do + %em.fa.fa-thumbs-up + = t '.ok' - if ENV['TWITTER_CONSUMER_KEY'] || Rails.env.development? %fieldset