MarseyWorld/files/templates/hole/create_hole.html

30 lines
1.3 KiB
HTML
Raw Normal View History

2022-10-31 23:07:24 +00:00
{% extends "default.html" %}
{% block pagetitle %}Create a hole{% endblock %}
2022-10-31 23:07:24 +00:00
{% block content %}
2023-10-04 12:20:55 +00:00
<form class="mt-3" id="submitform" action="/create_hole" method="post" data-nonce="{{g.nonce}}">
2022-02-16 02:15:17 +00:00
<div class="container">
<div class="row justify-content-center mb-4 pb-6">
2022-02-16 02:15:17 +00:00
<div class="col col-md-6 p-3 py-md-0">
<h1 class="d-mob-none">Create a hole</h1>
<h3 class=" d-md-none">Create a hole</h3>
2022-02-16 02:15:17 +00:00
<div class="body">
2023-01-24 05:10:16 +00:00
<input hidden name="formkey" value="{{v|formkey}}">
2023-10-07 17:55:50 +00:00
<label for="title">Hole Name</label>
2022-12-25 02:10:56 +00:00
<input minlength="3" maxlength="25" pattern='[a-zA-Z0-9_\-]*' class="form-control" id="title-register" type="text" name="name" required>
2022-08-11 13:36:41 +00:00
<small class="form-text text-muted">3-25 characters, including letters, numbers, _ , and -</small>
{% if HOLE_INACTIVITY_DELETION %}
<p class="text-danger mt-2">Warning: holes get automatically deleted if they spend 7 days with no new posts.</p>
{% endif %}
<div class="footer">
<div class="d-flex">
<button type="submit" class="btn btn-primary ml-auto" {% if cost > v.coins + v.marseybux %}disabled{% endif %}>Create Hole</button>
</div>
2023-03-07 05:07:23 +00:00
<p class="mt-2 mr-1" style="float: right"><b>Cost</b>: {{cost}} coins or marseybux</p>
2023-01-01 11:36:20 +00:00
</div>
2022-02-16 02:15:17 +00:00
</div>
</div>
</div>
</div>
2022-02-10 20:35:16 +00:00
</form>
2022-10-10 05:23:02 +00:00
{% endblock %}