Rename /labels route to /repository
deploy / deploy (push) Successful in 9s

This commit is contained in:
randy committed 2026-09-15 22:29:10 +02:00
1 parent 61d190ed91
commit 7ea03e5bc5
6 files changed
+19 -19

No files matched your search

+2 -2
View File
@@ -6,7 +6,7 @@
<span class="badge bg-info text-dark">ESC/POS &middot; Epson</span>
<% end %>
<form action="/labels/<%= @label['id'] %>" method="POST" class="mt-3">
<form action="/repository/<%= @label['id'] %>" method="POST" class="mt-3">
<div class="mb-3">
<label for="name" class="form-label">Name</label>
<input name="name" class="form-control" type="text" id="name" value="<%= @label['name'] %>" />
@@ -16,5 +16,5 @@
<textarea name="content" class="form-control" id="content" rows="12" style="font-family: monospace;"><%= @label['content'] %></textarea>
</div>
<button class="btn btn-secondary" type="submit">Save</button>
<a href="/labels" class="btn btn-outline-secondary">Cancel</a>
<a href="/repository" class="btn btn-outline-secondary">Cancel</a>
</form>