fix behavior that would replace marsey tags with "none" if we didn't specify them on update

master
Aevann1 2022-10-23 11:27:20 +02:00
parent c8f24eab1b
commit 77e5da55ef
1 changed files with 3 additions and 3 deletions

View File

@ -49,11 +49,11 @@
</div>
<label class="mt-3" for="name">Name</label>
<input autocomplete="off" type="text" id="name" class="form-control" name="name" maxlength="30" placeholder="Required" value="{{name}}" required>
<input autocomplete="off" type="text" id="name" class="form-control" name="name" maxlength="30" placeholder="Required" required>
{% if type == "Marsey" %}
<label class="mt-3" for="tags">Tags</label>
<input autocomplete="off" type="text" id="name" class="form-control" name="tags" maxlength="200" placeholder="Required" value="{{tags}}" required>
<input autocomplete="off" type="text" id="name" class="form-control" name="tags" maxlength="200" placeholder="Leave empty to keep current tags">
{% endif %}
<div class="footer mt-4">
<div class="d-flex">
@ -107,4 +107,4 @@
}
})
</script>
{% endblock %}
{% endblock %}