user email used by default for payment

This commit is contained in:
Serghei Mihai 2014-03-25 17:31:11 +01:00
parent 40f62720b2
commit bbdf143816
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ function tipi() {
</li>
<li>
<label>{% trans "Votre courriel" %}</label>
<input type='email' id='mel' placeholder="{% trans "nom@domaine.com" %}" />
<input type='email' id='mel' {% if request.user.email %}value="{{ request.user.email }}" {% else %}placeholder="{% trans "nom@domaine.com" %}"{% endif %} />
<span class="error" id="mel_error">{% trans "courriel invalide" %}</span></li>
<li>
<input type='submit' value='{% trans "Payer" %}' />