~homeworkprod/byceps-bungalows

699cbdc20fcc8000a075d4d37baf6db6e217bfd1 — Jochen Kupperschmidt a month ago ae67f27
Tweak input field width, flash message
M byceps/blueprints/admin/bungalow/templates/admin/bungalow/building_create_form.html => byceps/blueprints/admin/bungalow/templates/admin/bungalow/building_create_form.html +1 -1
@@ 17,7 17,7 @@
  <form action="{{ url_for('.building_create', brand_id=brand.id) }}" method="post">
    <div class="box">
      {{ form_field(form.layout_id, autofocus='autofocus') }}
      {{ form_field(form.number, type='number', min=1, max=999, style='width: 3.5rem;') }}
      {{ form_field(form.number, type='number', min=1, max=999, style='width: 4rem;') }}
    </div>

    {{ form_buttons(_('Create')) }}

M byceps/blueprints/admin/bungalow/views.py => byceps/blueprints/admin/bungalow/views.py +1 -1
@@ 265,7 265,7 @@ def building_create(brand_id):
    )

    flash_success(
        f'Gebäude #{building.number:d} wurde '
        f'Gebäude {building.number:d} wurde '
        f'für die Marke "{brand.title}" hinzugefügt.'
    )