Refactor code structure for improved readability and maintainability

This commit is contained in:
Ross
2025-12-05 10:52:27 +00:00
parent bf9e90d754
commit 09be93e8b6
4 changed files with 14 additions and 0 deletions
+7
View File
@@ -61,6 +61,13 @@
</div>
</div>
</div>
<div class="field">
<label class="label">{{ form.background.label }}</label>
<div class="control">
<div class="select is-fullwidth">{{ form.background }}</div>
<p class="help">Optional: choose a background image to use for this card.</p>
</div>
</div>
<script>
(function(){
// Attach to file inputs within this form fragment and update the .file-name text
BIN
View File
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

+7
View File
@@ -60,6 +60,13 @@
</div>
</div>
</div>
<div class="field">
<label class="label">{{ form.background.label }}</label>
<div class="control">
<div class="select is-fullwidth">{{ form.background }}</div>
<p class="help">Optional: choose a background image to use for this card.</p>
</div>
</div>
<script>
(function(){
const script = document.currentScript;