aboutsummaryrefslogtreecommitdiff
path: root/views/edit.tpl
blob: 5e0f35bf0070392f737648f7a78ec1163d2fd178 (plain)
1
2
3
4
5
6
7
8
9
10
% include('header.tpl', title=f"Edit {page.name}")

  <form action="/edit/{{page.name}}" method="post">
    <textarea name="content" rows="20" required>{{page.content}}</textarea>
    <label for="changelog">Changelog (optional)</label> <input class="changelog" name="changelog" type="text" value="">
    <input value="Save" type="submit">
    <p>Or <a href="/{{page.name}}">Cancel</a></p>
  </form>

% include('footer.tpl')