forked from MarseyWorld/MarseyWorld
make CTRL+Enter work in /create_hole page
parent
af6b23045d
commit
fe22eefe41
|
@ -32,24 +32,24 @@
|
||||||
<input minlength="3" maxlength="20" pattern='[a-zA-Z0-9_\-]*' class="form-control" id="title-register" aria-describedby="titleHelpRegister" type="text" name="name" required>
|
<input minlength="3" maxlength="20" pattern='[a-zA-Z0-9_\-]*' class="form-control" id="title-register" aria-describedby="titleHelpRegister" type="text" name="name" required>
|
||||||
<small class="form-text text-muted">3-20 characters, including letters, numbers, _ , and -</small>
|
<small class="form-text text-muted">3-20 characters, including letters, numbers, _ , and -</small>
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
|
|
||||||
<div class="d-flex">
|
|
||||||
|
|
||||||
{% if error %}
|
|
||||||
<p class="mb-0">
|
|
||||||
<span class="text-danger text-small" style="vertical-align: sub;">{{ error }}</span>
|
|
||||||
</p>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<button class="btn btn-primary ml-auto" id="create_button" {% if cost > v.coins %}disabled{% endif %}>Create {{HOLE_NAME|capitalize}}</button>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<p class="mt-2 mr-1" style="float: right"><b>Cost</b>: {{cost}} coins</p>
|
|
||||||
|
|
||||||
|
<div class="d-flex">
|
||||||
|
|
||||||
|
{% if error %}
|
||||||
|
<p class="mb-0">
|
||||||
|
<span class="text-danger text-small" style="vertical-align: sub;">{{ error }}</span>
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<button class="btn btn-primary ml-auto" id="create_button" {% if cost > v.coins %}disabled{% endif %}>Create {{HOLE_NAME|capitalize}}</button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p class="mt-2 mr-1" style="float: right"><b>Cost</b>: {{cost}} coins</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue