Change the display of the "Save" or "Update" button in user settings and admin settings

This commit is contained in:
Maël Solard
2014-08-07 18:38:42 +02:00
parent d96a834b09
commit b960233313
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -4,4 +4,4 @@
{% include "common/parameters.html" %}
</form>
<hr>
<a href="#" class="btn btn-primary col-lg-offset-7 col-md-offset-8 col-sm-offset-7 col-lg-1 col-md-1 col-sm-2" id="update" name="update">{% trans 'Save' %}</a>
<a href="#" class="btn btn-primary col-lg-offset-7 col-md-offset-7 col-sm-offset-7 col-lg-1 col-md-2 col-sm-2" id="update" name="update">{% trans 'Save' %}</a>
@@ -5,5 +5,5 @@
id="uprefs_form">{% csrf_token %}
{% include "common/parameters.html" %}
<hr>
<button type="submit" class="btn btn-primary col-lg-offset-7 col-md-offset-8 col-sm-offset-7 col-lg-1 col-md-1 col-sm-2" id="update" name="update">{% trans 'Save' %}</button>
<button type="submit" class="btn btn-primary col-lg-offset-7 col-md-offset-7 col-sm-offset-7 col-lg-1 col-md-2 col-sm-2" id="update" name="update">{% trans 'Save' %}</button>
</form>
@@ -5,7 +5,6 @@
id="uprefs_form">{% csrf_token %}
{% render_form form %}
<div class="form-actions">
<button type="submit" class="btn btn-primary col-lg-offset-7 col-md-offset-8 col-sm-offset-7 col-lg-1 col-md-1 col-sm-2" id="update" name="update">{% trans 'Update' %}</button>
</div>
<button type="submit" class="btn btn-primary col-lg-offset-7 col-md-offset-7 col-sm-offset-7 col-lg-1 col-md-2 col-sm-2" id="update" name="update">{% trans 'Update' %}</button>
</div>
</form>