mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
Minor update to make signup/login template better.
This commit is contained in:
parent
eacecd41a3
commit
5fa988b8de
|
@ -11,13 +11,11 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
|
|
||||||
|
|
||||||
<h2>{% trans "Sign In" %}</h2>
|
<h2>{% trans "Sign In" %}</h2>
|
||||||
|
|
||||||
{% if socialaccount.providers %}
|
{% if socialaccount.providers %}
|
||||||
<p>{% blocktrans with site.name as site_name %}Please sign in with one
|
<p>{% blocktrans with site.name as site_name %}Please sign in with one
|
||||||
of your existing third party accounts. Or, <a href="{{ signup_url }}">sign up</a>
|
of your existing third party accounts. Or, <a href="{{ signup_url }}">sign up</a>
|
||||||
for a {{ site_name }} account and sign in below:{% endblocktrans %}</p>
|
for a {{ site_name }} account and sign in below:{% endblocktrans %}</p>
|
||||||
|
|
||||||
<div class="socialaccount_ballot">
|
<div class="socialaccount_ballot">
|
||||||
|
@ -40,11 +38,11 @@
|
||||||
{% if redirect_field_value %}
|
{% if redirect_field_value %}
|
||||||
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
|
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a class="button secondaryAction" href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>
|
|
||||||
<button class="btn btn-primary" type="submit">{% trans "Sign In" %}</button>
|
<button class="btn btn-primary" type="submit">{% trans "Sign In" %}</button>
|
||||||
|
<a class="button secondaryAction" href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
|
@ -17,11 +17,11 @@
|
||||||
{% if redirect_field_value %}
|
{% if redirect_field_value %}
|
||||||
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
|
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<button class="btn" type="submit">{% trans "Sign Up" %} »</button>
|
<button class="btn btn-primary" type="submit">{% trans "Sign Up" %} »</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
||||||
|
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user