0 Votes

Changes for page PublicSubmission

Last modified by Ryan C on 2025/06/08 18:17

From version 1.1
edited by Ryan C
on 2025/06/08 17:49
Change comment: There is no comment for this version
To version 12.1
edited by Ryan C
on 2025/06/08 18:06
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,0 +1,13 @@
1 +{{velocity output="yes"}}
2 +#if($request.headline)
3 + <div class="alert alert-success">Submitted: $request.headline</div>
4 +#else
5 + <form method="post" action="$doc.getURL()">
6 + <input type="hidden" name="form_token" value="$services.csrf.getToken()" />
7 + <label>Headline</label>
8 + <input type="text" name="headline" />
9 + <button type="submit">Submit</button>
10 + </form>
11 +#end
12 +{{/velocity}}
13 +