<% provide(:title, "Crear Cuenta") %> <% provide(:description, "NTS Es el único plan nutricional elaborado con base en tus tiempos y preferencias alimenticias, brindándote programas completos de entrenamiento que se adaptan a ti y a tus objetivos.") %>

Crear Cuenta

<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <%= render "shared/errors", object: resource %>
<%= f.label :full_name, "Nombre Completo" %> <%= f.text_field :full_name, placeholder: "Nombre Completo", required: true %>
<%= f.label :email, "E-mail" %> <%= f.email_field :email, placeholder: "tu@email.com", required: true %>
<%= f.label :tel, "Teléfono a 10 digitos" %> <%= f.number_field :tel, placeholder: "Teléfono", required: true, minLength: "10", maxLength: "10" %>
<%= f.label :dob, "Fecha de nacimiento" %>
<%= f.date_select :dob, placeholder: "Fecha de nacimiento", required: true, start_year: 1960, end_year: 2010 %>
<%= f.label :password, "Contraseña (6 caracteres mínimo)" %> <%= f.password_field :password, placeholder: "Contraseña", required: true %>

Al hacer clic en registrarse, confirma que ha leído nuestro <%= link_to "Aviso de Privacidad", privacidad_path, :class=> "open-legals", title: "Aviso de Privacidad", target: "_blank" %> y acepta nuestros <%= link_to "Términos y Condiciones", terminos_path, :class=> "open-legals", title: "Términos y Condiciones", target: "_blank" %>.

<%= link_to "Registrarse con Facebook", user_facebook_omniauth_authorize_path, class: "btn fb-btn change-page", title: "Entrar con Facebook" %>

¿Ya tienes cuenta?

<%= link_to "Inicia Sesión", new_session_path(resource_name), class: "change-page btn item-intro" %>
<% end %>
<%= render "shared/legals_modal" %>