Commit 185ca3d0 authored by fred's avatar fred

use <button> instead of input type=submit

parent eb1f5af3
...@@ -77,7 +77,7 @@ Tags : ...@@ -77,7 +77,7 @@ Tags :
<form id="add-diffusion-form" action="add-diffusion" method="POST" style="display: none;"> <form id="add-diffusion-form" action="add-diffusion" method="POST" style="display: none;">
{% csrf_token %} {% csrf_token %}
{{ add_diffusion_form.as_p }} {{ add_diffusion_form.as_p }}
<input type="submit" value="Ajouter cet horaire"/> <button>Ajouter cet horaire</button>
<button class="cancel">Annuler</button> <button class="cancel">Annuler</button>
</form> </form>
...@@ -131,7 +131,7 @@ Tags : ...@@ -131,7 +131,7 @@ Tags :
<form id="add-soundfile-form" action="add-soundfile" method="POST" style="display: none;"> <form id="add-soundfile-form" action="add-soundfile" method="POST" style="display: none;">
{% csrf_token %} {% csrf_token %}
{{ add_soundfile_form.as_p }} {{ add_soundfile_form.as_p }}
<input type="submit" value="Ajouter ce son"/> <button>Ajouter ce son</button>
<button class="cancel">Annuler</button> <button class="cancel">Annuler</button>
</form> </form>
......
...@@ -33,7 +33,7 @@ de nouveaux épisodes et nouvelles actualités. ...@@ -33,7 +33,7 @@ de nouveaux épisodes et nouvelles actualités.
{{ form.password }} {{ form.password }}
</p> </p>
<input type="submit" value="Se connecter" class="submit login" /> <button>Se connecter</button>
<input type="hidden" name="next" value="{{ next }}" /> <input type="hidden" name="next" value="{{ next }}" />
</form> </form>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</fieldset> </fieldset>
<div class="submit-row"> <div class="submit-row">
<input type="submit" value="{% trans 'Change my password' %}" class="default" /> <button>{% trans 'Change my password' %}</button>
</div> </div>
<script type="text/javascript">document.getElementById("id_old_password").focus();</script> <script type="text/javascript">document.getElementById("id_old_password").focus();</script>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p> <p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p>
{{ form.new_password2.errors }} {{ form.new_password2.errors }}
<p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p> <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> </form>
{% else %} {% else %}
......
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
<form action="" method="post">{% csrf_token %} <form action="" method="post">{% csrf_token %}
{{ form.email.errors }} {{ 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> </form>
{% endblock %} {% endblock %}
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td> <td>
<input type="submit" value="Rechercher"> <button>Rechercher</button>
</td> </td>
</tr> </tr>
</table> </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