From e2780baa28ee5cfdee771b57b948461bcd84b050 Mon Sep 17 00:00:00 2001 From: echarp Date: Fri, 18 Jul 2014 17:49:59 +0200 Subject: [PATCH] =?UTF-8?q?Quelques=20champs=20html5=20suppl=C3=A9mentaire?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/events/_form.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/events/_form.html.haml b/app/views/events/_form.html.haml index 980ee623..2e2f094b 100644 --- a/app/views/events/_form.html.haml +++ b/app/views/events/_form.html.haml @@ -54,19 +54,19 @@ :markdown #{t '.url_helper'} = f.label :url - = f.text_field :url, required: true, size: 70, placeholder: 'Ex: http://april.org' + = f.url_field :url, required: true, size: 70, placeholder: 'Ex: http://april.org' .field .helper :markdown #{t '.contact_helper'} = f.label :contact - = f.text_field :contact, required: true, size: 70 + = f.email_field :contact, required: true, size: 70 .field .helper :markdown #{t '.submitter_helper'} = f.label :submitter - = f.text_field :submitter, required: true, size: 70 + = f.email_field :submitter, size: 70 .field .helper :markdown