Sha256: 48b4f3ebdb6d9b815fa53003404e7afe3bd38fb25052c7cd6e9bfe0b13d5df6c
Contents?: true
Size: 1.89 KB
Versions: 23
Compression:
Stored size: 1.89 KB
Contents
--- title: Sign up listed: false published: true handle: sign_up --- {% extends 'index' %} {% block content %} <h1>Sign up</h1> {% if current_account %} <div class="alert alert-warning"> You're already authenticated! </div> {% else %} <form action="{% path_to 'sign_up' %}" method="POST"> <input type="hidden" name="auth_action" value="sign_up" /> <input type="hidden" name="auth_content_type" value="accounts" /> <input type="hidden" name="auth_id_field" value="email" /> <input type="hidden" name="auth_password_field" value="password" /> <input type="hidden" name="auth_callback" value="{% path_to sign_in %}" /> <div class="form-group"> <label for="auth-name">Your name</label> <input type="text" name="auth_entry[name]" class="form-control" id="auth-name" placeholder="Name"> </div> <div class="form-group"> <label for="auth-email">Your E-mail</label> <input type="email" name="auth_entry[email]" class="form-control" id="auth-email" placeholder="Email"> </div> <div class="form-group"> <label for="auth-password">Password</label> {% if auth_entry.errors.password.size > 0 %} <span class="inline-error">{{ auth_entry.errors.password.first }}</span> {% endif %} <input type="password" name="auth_entry[password]" class="form-control" id="auth-password" placeholder="Password"> </div> <div class="form-group"> <label for="auth-password">Password confirmation</label> {% if auth_entry.errors.password_confirmation.size > 0 %} <span class="inline-error">{{ auth_entry.errors.password_confirmation.first }}</span> {% endif %} <input type="password" name="auth_entry[password_confirmation]" class="form-control" id="auth-password" placeholder="Password confirmation"> </div> <button type="submit" class="btn btn-default">Create account</button> </form> {% endif %} {% endblock %}
Version data entries
23 entries across 23 versions & 1 rubygems