Compare commits
No commits in common. "a1ec3e5f20016c4511c5207128abc1c0407784d8" and "f56322bd6e1cab8e4dab62ac0f7021b1be22f880" have entirely different histories.
a1ec3e5f20
...
f56322bd6e
|
@ -2,40 +2,42 @@
|
|||
{% block content %}
|
||||
{% load i18n %}
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-9">
|
||||
<div class="ctf-block">
|
||||
<div class="ctf-head">
|
||||
<h3>Register</h3>
|
||||
</div>
|
||||
<div class="ctf-body sign-body">
|
||||
<div class="col-sm-8 col-md-6 mx-auto">
|
||||
{% if registered %}
|
||||
<h1>{% trans "Welcome !" %}</h1>
|
||||
<span class="message success-msg">{% trans "Your account has been created." %}</span>
|
||||
{% else %}
|
||||
{% if registered_failed %}
|
||||
<span class="message error-msg">{{ registered_failed }}</span>
|
||||
{% endif %}
|
||||
<form enctype="multipart/form-data" method="POST">
|
||||
{% csrf_token %}
|
||||
<div class="form-group">
|
||||
<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="password" name="password" placeholder="{% trans "Password" %} *" required="" id="id_password"></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="url" name="portfolio_site" placeholder="{% trans "Personal website" %}"maxlength="200" id="id_portfolio_site" value="{{ old_website }}"></br>
|
||||
<input type="submit" name="" class="form-control" value="{% trans "Register" %}">
|
||||
</div>
|
||||
</form>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-3 right-sidebar">
|
||||
<ul class="list-group">
|
||||
<a href="/accounts/signup" class="list-group-item">{% trans "Sign up" %}</a>
|
||||
<a href="/accounts/signin" class="list-group-item">{% trans "Login" %}</a>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-9">
|
||||
<div class="ctf-block">
|
||||
<div class="ctf-head">
|
||||
<h3>Register</h3>
|
||||
</div>
|
||||
|
||||
<div class="ctf-body sign-body">
|
||||
<div class="col-sm-8 col-md-6 mx-auto">
|
||||
{% if registered %}
|
||||
<h1>{% trans "Welcome !" %}</h1>
|
||||
<span class="message success-msg">{% trans "Your account has been created." %}</span>
|
||||
{% else %}
|
||||
{% if registered_failed %}
|
||||
<span class="message error-msg">{{ registered_failed }}</span>
|
||||
{% endif %}
|
||||
<form enctype="multipart/form-data" method="POST">
|
||||
{% csrf_token %}
|
||||
<div class="form-group">
|
||||
<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="password" name="password" placeholder="{% trans "Password" %} *" required="" id="id_password"></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="url" name="portfolio_site" placeholder="{% trans "Personal website" %}"maxlength="200" id="id_portfolio_site" value="{{ old_website }}"></br>
|
||||
<input type="submit" name="" class="form-control" value="{% trans "Register" %}">
|
||||
</div>
|
||||
</form>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12 col-md-3 right-sidebar">
|
||||
<ul class="list-group">
|
||||
<a href="/accounts/signup" class="list-group-item">{% trans "Sign up" %}</a>
|
||||
<a href="/accounts/signin" class="list-group-item">{% trans "Login" %}</a>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue