Form for editing property type details

This commit is contained in:
2026-09-08 22:22:24 +02:00
parent 1d3cfdc7b7
commit c7e3778073
2 changed files with 14 additions and 3 deletions
@@ -94,6 +94,8 @@ main {
border-radius: var(--box-border-radius); border-radius: var(--box-border-radius);
background-color: var(--data-background-color); background-color: var(--data-background-color);
cursor: pointer; cursor: pointer;
display: inline-flex;
justify-content: center;
} }
.mt-16 { .mt-16 {
+12 -3
View File
@@ -96,10 +96,19 @@
</div> </div>
</form> </form>
</section> </section>
<section id="PropertyTypeData"> <section class="mt-16" id="PropertyTypeData">
<h3>Property-Type {PropertyTypeName}</h3> <h3>Property-Type {PropertyTypeName}</h3>
<p>Hier können die Details der ausgewählten Eigenschaft bearbeitet werden.</p> <form class="cform" method="post" action="/updatePropertyType">
<!-- Editor content can be added here --> <label for="propertyTypeName">Name:</label>
<input type="text" id="propertyTypeName" name="propertyTypeName" value="{PropertyTypeName}">
<label for="propertyTypeDescription">Beschreibung:</label>
<textarea id="propertyTypeDescription" name="propertyTypeDescription">{PropertyType Description}</textarea>
<div class="button_row">
<button type="submit">Speichern</button>
<button type="submit">Neu</button>
<button type="submit">Löschen</button>
</div>
</form>
</section> </section>
</section> </section>
<section class="editor-view"> <section class="editor-view">