Update form theme
This commit is contained in:
parent
30ccc7b6eb
commit
c5ac2d83c7
6 changed files with 34 additions and 11 deletions
|
@ -19,6 +19,7 @@
|
|||
{{ field }}
|
||||
{% endfor %}
|
||||
<div class="buttons">
|
||||
<a href="{% url 'del_category' category.id %}"><input type="button" value="Delete" class="btn del" /></a>
|
||||
<input type="reset" />
|
||||
<input type="submit" value="Save Category" />
|
||||
</div>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
{{ field }}
|
||||
{% endfor %}
|
||||
<div class="buttons">
|
||||
<a href="{% url 'del_snapshot' snapshot.date %}"><input type="button" value="Delete" /></a>
|
||||
<a href="{% url 'del_snapshot' snapshot.date %}"><input type="button" value="Delete" class="del" /></a>
|
||||
<input type="reset" />
|
||||
<input type="submit" value="Save Snapshot" />
|
||||
</div>
|
||||
|
|
|
@ -18,9 +18,9 @@
|
|||
{{ field }}
|
||||
{% endfor %}
|
||||
<div class="buttons">
|
||||
<a href="{% url 'del_transaction' transaction.id %}"><input type="button" value="Delete" class="del" /></a>
|
||||
<input type="reset" />
|
||||
<input type="submit" value="Save Transaction" />
|
||||
<a href="{% url 'del_transaction' transaction.id %}"><input type="button" value="Delete" class="btn del" /></a>
|
||||
<input class="btn" type="reset" />
|
||||
<input class="btn" type="submit" value="Save Transaction" />
|
||||
</div>
|
||||
</form>
|
||||
{% endspaceless %}
|
||||
|
@ -46,6 +46,6 @@
|
|||
<label for="{{ field.id_for_label }}">{{field.label }}</label>
|
||||
{{ field }}
|
||||
{% endfor %}
|
||||
<div class="buttons"><input type="submit" value="Add Invoice" /></div>
|
||||
<div class="buttons"><input class="btn" type="submit" value="Add Invoice" /></div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue