Split Print into Save / Save & Print -- saving no longer requires also printing
deploy / deploy (push) Successful in 9s

Name is now required (it's the only thing identifying what got saved),
and printing is an explicit separate choice instead of an implicit
side-effect of naming something.
This commit is contained in:
randy committed 2026-09-13 11:37:24 +02:00
1 parent 148f7dc248
commit abb4eb0edb
3 files changed
+34 -18

No files matched your search

+4 -3
View File
@@ -23,11 +23,12 @@
</div>
<div class="row g-2 align-items-end">
<div class="col-auto">
<label for="save_as_zpl" class="form-label">Save as (optional)</label>
<input name="save_as" class="form-control" type="text" id="save_as_zpl" placeholder="label name" />
<label for="save_as_zpl" class="form-label">Name</label>
<input name="save_as" class="form-control" type="text" id="save_as_zpl" placeholder="label name" required />
</div>
<div class="col-auto">
<button class="btn btn-secondary" type="submit">Print</button>
<button class="btn btn-outline-secondary" type="submit" name="commit" value="save">Save</button>
<button class="btn btn-secondary" type="submit" name="commit" value="save_and_print">Save &amp; Print</button>
</div>
</div>
</form>