Added placeholders for edit inputs

This commit is contained in:
Jurn Wubben 2025-05-27 22:59:27 +02:00
parent 05c40d0148
commit 071a762ea4
2 changed files with 4 additions and 4 deletions

View file

@ -1,22 +1,22 @@
{% set cpath = url_for("edit", id=wishlist.editId) %} {% set cpath = url_for("edit", id=wishlist.editId) %}
<h1>Change name</h1> <h1>Metadata</h1>
<form action="{{ cpath }}" method="POST"> <form action="{{ cpath }}" method="POST">
{{ form_wl_editinfo.hidden_tag() }} {{ form_wl_editinfo.hidden_tag() }}
{{ form_wl_editinfo.title.label }} {{ form_wl_editinfo.title.label }}
{{ form_wl_editinfo.title() }} {{ form_wl_editinfo.title(placeholder=wishlist.title) }}
<!-- <br> --> <!-- <br> -->
{{ form_wl_editinfo.description.label }} {{ form_wl_editinfo.description.label }}
{{ form_wl_editinfo.description() }} {{ form_wl_editinfo.description(placeholder=wishlist.description) }}
<!-- <br> --> <!-- <br> -->
{{ form_wl_editinfo.wl_edit_submit() }} {{ form_wl_editinfo.wl_edit_submit() }}
</form> </form>
<br> <br>
<h1>Reset urls</h1> <h1>Urls</h1>
<ul> <ul>
<li> <li>
View: <a href={{ url_for("view", id=wishlist.viewId) }}>{{ wishlist.viewId }}</a> View: <a href={{ url_for("view", id=wishlist.viewId) }}>{{ wishlist.viewId }}</a>

Binary file not shown.