~homeworkprod/byceps-bungalows

edbd351f335a20e030af9be43e91f2624d639047 — Jochen Kupperschmidt 3 months ago e20a6e5
Add icons to primary form buttons
M byceps/blueprints/site/bungalow/templates/site/bungalow/occupant_add_form.html => byceps/blueprints/site/bungalow/templates/site/bungalow/occupant_add_form.html +1 -1
@@ 21,7 21,7 @@
      {{ form_field(form.occupant, maxlength=40, autofocus='autofocus') }}
    </div>

    {{ form_buttons(_('Add'), cancel_url=url_for('.occupant_index', number=bungalow.number)) }}
    {{ form_buttons(render_icon('add') + ' ' + _('Add'), cancel_url=url_for('.occupant_index', number=bungalow.number)) }}
  </form>

{%- endblock %}

M byceps/blueprints/site/bungalow/templates/site/bungalow/occupant_remove_form.html => byceps/blueprints/site/bungalow/templates/site/bungalow/occupant_remove_form.html +1 -1
@@ 22,7 22,7 @@
      Soll {{ render_user_link(occupant_slot.occupant) }} wirklich als Mitbewohner aus Bungalow {{ bungalow.number }} entfernt werden?
    </div>

    {{ form_buttons(_('Remove'), cancel_url=url_for('.occupant_index', number=bungalow.number)) }}
    {{ form_buttons(render_icon('delete') + ' ' + _('Remove'), cancel_url=url_for('.occupant_index', number=bungalow.number)) }}
  </form>

{%- endblock %}