From 9b4182250bfa359db8f473f31c6ade2ca0e50003 Mon Sep 17 00:00:00 2001 From: rgarcia Date: Sat, 18 Jul 2015 14:49:57 +0200 Subject: [PATCH] displays terms of conditions in new and create [#11] --- app/views/debates/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/debates/_form.html.erb b/app/views/debates/_form.html.erb index 98de3c538..4ece98d8f 100644 --- a/app/views/debates/_form.html.erb +++ b/app/views/debates/_form.html.erb @@ -20,7 +20,7 @@

Explica con todo el detalle que puedas y de una manera sencilla la idea y que crees que conseguirĂ­amos con ella

<%= f.text_area :description %> - <% if action_name == 'new' %> + <% if @debate.new_record? %> <%= f.check_box :terms_of_service %> Acepto la polĂ­tica de privacidad y el aviso legal <% end %>