Compare commits

..

No commits in common. "a1ec3e5f20016c4511c5207128abc1c0407784d8" and "f56322bd6e1cab8e4dab62ac0f7021b1be22f880" have entirely different histories.

1 changed files with 37 additions and 35 deletions

View File

@ -2,40 +2,42 @@
{% block content %} {% block content %}
{% load i18n %} {% load i18n %}
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-9"> <div class="col-sm-12 col-md-9">
<div class="ctf-block"> <div class="ctf-block">
<div class="ctf-head"> <div class="ctf-head">
<h3>Register</h3> <h3>Register</h3>
</div> </div>
<div class="ctf-body sign-body">
<div class="col-sm-8 col-md-6 mx-auto"> <div class="ctf-body sign-body">
{% if registered %} <div class="col-sm-8 col-md-6 mx-auto">
<h1>{% trans "Welcome !" %}</h1> {% if registered %}
<span class="message success-msg">{% trans "Your account has been created." %}</span> <h1>{% trans "Welcome !" %}</h1>
{% else %} <span class="message success-msg">{% trans "Your account has been created." %}</span>
{% if registered_failed %} {% else %}
<span class="message error-msg">{{ registered_failed }}</span> {% if registered_failed %}
{% endif %} <span class="message error-msg">{{ registered_failed }}</span>
<form enctype="multipart/form-data" method="POST"> {% endif %}
{% csrf_token %} <form enctype="multipart/form-data" method="POST">
<div class="form-group"> {% csrf_token %}
<input class="form-control" type="text" name="username" placeholder="{% trans "Username" %} *" maxlength="150" required="" id="id_username" value="{{ old_username }}"></br> <div class="form-group">
<input class="form-control" type="password" name="password" placeholder="{% trans "Password" %} *" required="" id="id_password"></br> <input class="form-control" type="text" name="username" placeholder="{% trans "Username" %} *" maxlength="150" required="" id="id_username" value="{{ old_username }}"></br>
<input class="form-control" type="email" name="email" placeholder="pleasedontgivemy@private.infos*" required="" maxlength="254" id="id_email" value="{{ old_email }}"></br> <input class="form-control" type="password" name="password" placeholder="{% trans "Password" %} *" required="" id="id_password"></br>
<input class="form-control" type="url" name="portfolio_site" placeholder="{% trans "Personal website" %}"maxlength="200" id="id_portfolio_site" value="{{ old_website }}"></br> <input class="form-control" type="email" name="email" placeholder="pleasedontgivemy@private.infos*" required="" maxlength="254" id="id_email" value="{{ old_email }}"></br>
<input type="submit" name="" class="form-control" value="{% trans "Register" %}"> <input class="form-control" type="url" name="portfolio_site" placeholder="{% trans "Personal website" %}"maxlength="200" id="id_portfolio_site" value="{{ old_website }}"></br>
</div> <input type="submit" name="" class="form-control" value="{% trans "Register" %}">
</form> </div>
{% endif %} </form>
</div> {% endif %}
</div> </div>
</div> </div>
</div> </div>
<div class="col-sm-12 col-md-3 right-sidebar">
<ul class="list-group"> <div class="col-sm-12 col-md-3 right-sidebar">
<a href="/accounts/signup" class="list-group-item">{% trans "Sign up" %}</a> <ul class="list-group">
<a href="/accounts/signin" class="list-group-item">{% trans "Login" %}</a> <a href="/accounts/signup" class="list-group-item">{% trans "Sign up" %}</a>
</ul> <a href="/accounts/signin" class="list-group-item">{% trans "Login" %}</a>
</div> </ul>
</div>
</div> </div>
{% endblock %} {% endblock %}