qualification: display 'done' button once there's an association

This commit is contained in:
Frédéric Péters 2015-07-09 06:44:11 +02:00
parent 737ffffd7f
commit 7286ad2023
2 changed files with 9 additions and 0 deletions

View File

@ -105,6 +105,12 @@ div#content .cell.qualif form button.add {
right: 1ex;
}
div#content .cell.qualif form button.done {
position: absolute;
right: 1ex;
bottom: 1ex;
}
div#content .cell.qualif select {
max-width: 100%;

View File

@ -13,5 +13,8 @@
{{form.formdef_reference}}
</div>
<button class="add">{% trans 'Add' %}</button>
{% if association %}
<button class="done">{% trans 'Done' %}</button>
{% endif %}
</form>
</div>