adds verify account page for letter code

This commit is contained in:
Alberto Garcia Cabeza
2015-10-05 12:31:31 +02:00
committed by rgarcia
parent 830b6c130a
commit 65e0becafc
6 changed files with 59 additions and 1 deletions

View File

@@ -1767,6 +1767,19 @@ table {
}
}
.verify {
margin: rem-calc(24) 0 rem-calc(48);
h1 {
color: $check;
.icon-check {
line-height: rem-calc(30);
vertical-align: middle;
}
}
}
// 18. Comments
// - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@@ -46,6 +46,9 @@ class PagesController < ApplicationController
def participation_world
end
def verifica
end
def blog
redirect_to "http://diario.madrid.es/participa/"
end

View File

@@ -0,0 +1,27 @@
<div class="row verify">
<div class="small-12 medium-8 small-centered column">
<div class="text-center">
<h1>
<i class="icon-check"></i>
<%= t("pages.verify.title") %>
</h1>
<p><%= t("pages.verify.info") %></p>
</div>
<div class="medium-6 small-centered column">
<form>
<label><%= t("pages.verify.email") %></label>
<input type="text" placeholder="<%= t("pages.verify.email") %>">
<label><%= t("pages.verify.password") %></label>
<input type="password" placeholder="<%= t("pages.verify.password") %>">
<label><%= t("pages.verify.code") %></label>
<input type="text" placeholder="<%= t("pages.verify.code") %>">
<input type="submit" value="<%= t("pages.verify.submit") %>" class="button radius success expand">
</form>
</div>
</div>
</div>

View File

@@ -18,4 +18,11 @@ en:
transparency:
"Transparency"
opendata:
"Open Data"
"Open Data"
verify:
title: "Verify your account"
info: "Introduce your access data and the code you received in letter."
email: "Email"
password: "Password"
code: "Secure code"
submit: "Verify my account"

View File

@@ -21,3 +21,10 @@ es:
"Transparencia"
opendata:
"Datos abiertos"
verify:
title: "Verifica tu cuenta"
info: "Introduce tus datos con los que te registraste y el código que has recibido en tu carta."
email: "Email"
password: "Contraseña"
code: "Código de seguridad"
submit: "Verificar mi cuenta"

View File

@@ -270,5 +270,6 @@ Rails.application.routes.draw do
get "/participation_world", to: "pages#participation_world"
get "/blog", to: "pages#blog"
get "/accessibility", to: "pages#accessibility"
get "/verifica", to: "pages#verifica"
end