Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Make the save button span 2 rows, like in other forms

Roland Geidere19510231ee7
diff --git a/manager/templates/user/change_password.html b/manager/templates/user/change_password.html
index fbc20e0a3..a4d892671 100644
--- a/manager/templates/user/change_password.html
+++ b/manager/templates/user/change_password.html
@@ -18,8 +18,9 @@
{% include "form_snippet.html" with field=form.new_password1 %}
{% include "form_snippet.html" with field=form.new_password2 %}
<tr>
- <td><input type="submit" value='{% trans "Register" %}' /></td>
- <td></td>
+ <td colspan="2">
+ <input type="submit" value="{% trans 'Save' %}" id="form-save">
+ </td>
</tr>
</table>
</form>
diff --git a/manager/templates/user/preferences.html b/manager/templates/user/preferences.html
index 4ed9a2bc7..1140b9929 100644
--- a/manager/templates/user/preferences.html
+++ b/manager/templates/user/preferences.html
@@ -18,8 +18,9 @@
{% include "form_snippet.html" with field=form.show_comments %}
{% include "form_snippet.html" with field=form.show_english_ingredients %}
<tr>
- <td><input type="submit" value='{% trans "Save" %}' /></td>
- <td></td>
+ <td colspan="2">
+ <input type="submit" value="{% trans 'Save' %}" id="form-save">
+ </td>
</tr>
</table>
</form>
diff --git a/manager/templates/user/registration.html b/manager/templates/user/registration.html
index 63025f994..60b84d407 100644
--- a/manager/templates/user/registration.html
+++ b/manager/templates/user/registration.html
@@ -17,8 +17,9 @@
{% include "form_snippet.html" with field=form.password1 %}
{% include "form_snippet.html" with field=form.password2 %}
<tr>
- <td><input type="submit" value='{% trans "Register" %}' /></td>
- <td></td>
+ <td colspan="2">
+ <input type="submit" value="{% trans 'Save' %}" id="form-save">
+ </td>
</tr>
</table>
</form>