MarseyWorld/files/templates/admin/edit_rules.html

29 lines
924 B
HTML
Raw Normal View History

{% extends "default.html" %}
{% block pagetitle %}Edit {{SITE_NAME}}'s rules{% endblock %}
{% block content %}
<div class="row my-5">
2022-12-05 05:33:32 +00:00
<div class="col">
<div class="settings mx-3">
<div id="description">
<h2>Edit the Rules</h2>
<br>
</div>
<div class="body d-lg-flex">
<div class="w-lg-100">
2023-08-11 21:50:23 +00:00
<form id="edit_rules" action="/admin/edit_rules" method="post" data-nonce="{{g.nonce}}" data-onsubmit="sendFormXHRReload(this)">
2023-01-24 05:10:16 +00:00
<input hidden name="formkey" value="{{v|formkey}}">
2022-12-25 02:10:56 +00:00
<textarea autocomplete="off" maxlength="10000" class="form-control rounded" placeholder="Enter rules here..." rows="50" name="rules" form="edit_rules">{% if rules %}{{rules}}{% endif %}</textarea>
<div class="d-flex mt-2">
2023-03-07 00:21:08 +00:00
<input autocomplete="off" class="btn btn-primary ml-auto" type="submit" value="Save">
</div>
</form>
</div>
</div>
</div>
</div>
</div>
{% endblock %}