Commit 185ca3d0 authored by fred's avatar fred

use <button> instead of input type=submit

parent eb1f5af3
......@@ -77,7 +77,7 @@ Tags :
<form id="add-diffusion-form" action="add-diffusion" method="POST" style="display: none;">
{% csrf_token %}
{{ add_diffusion_form.as_p }}
<input type="submit" value="Ajouter cet horaire"/>
<button>Ajouter cet horaire</button>
<button class="cancel">Annuler</button>
</form>
......@@ -131,7 +131,7 @@ Tags :
<form id="add-soundfile-form" action="add-soundfile" method="POST" style="display: none;">
{% csrf_token %}
{{ add_soundfile_form.as_p }}
<input type="submit" value="Ajouter ce son"/>
<button>Ajouter ce son</button>
<button class="cancel">Annuler</button>
</form>
......
......@@ -33,7 +33,7 @@ de nouveaux épisodes et nouvelles actualités.
{{ form.password }}
</p>
<input type="submit" value="Se connecter" class="submit login" />
<button>Se connecter</button>
<input type="hidden" name="next" value="{{ next }}" />
</form>
......
......@@ -36,7 +36,7 @@
</fieldset>
<div class="submit-row">
<input type="submit" value="{% trans 'Change my password' %}" class="default" />
<button>{% trans 'Change my password' %}</button>
</div>
<script type="text/javascript">document.getElementById("id_old_password").focus();</script>
......
......@@ -14,7 +14,7 @@
<p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p>
{{ form.new_password2.errors }}
<p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p>
<p><input type="submit" value="{% trans 'Change my password' %}" /></p>
<p><button>{% trans 'Change my password' %}</button></p>
</form>
{% else %}
......
......@@ -12,7 +12,8 @@
<form action="" method="post">{% csrf_token %}
{{ form.email.errors }}
<p><label for="id_email">{% trans 'Email address:' %}</label> {{ form.email }} <input type="submit" value="{% trans 'Reset my password' %}" /></p>
<p><label for="id_email">{% trans 'Email address:' %}</label> {{ form.email }}
<button>{% trans 'Reset my password' %}</button></p>
</form>
{% endblock %}
......@@ -9,7 +9,7 @@
<tr>
<td>&nbsp;</td>
<td>
<input type="submit" value="Rechercher">
<button>Rechercher</button>
</td>
</tr>
</table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment