mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 10:51:36 +01:00
Add additional validation measures and create triggers for last modified columns
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
</label>
|
||||
<label>
|
||||
Title:
|
||||
<input type="text" name="title" />
|
||||
<input type="text" name="title" maxlength="50" pattern="\S(.*\S)?" required />
|
||||
</label>
|
||||
|
||||
<button type="submit">Submit</button>
|
||||
@@ -112,7 +112,14 @@
|
||||
<input type="hidden" name="id" value={id} />
|
||||
<label>
|
||||
Title
|
||||
<input type="text" name="title" value={title} />
|
||||
<input
|
||||
type="text"
|
||||
name="title"
|
||||
value={title}
|
||||
maxlength="50"
|
||||
pattern="\S(.*\S)?"
|
||||
required
|
||||
/>
|
||||
</label>
|
||||
|
||||
<button type="submit">Submit</button>
|
||||
|
||||
Reference in New Issue
Block a user