NDOJ/templates/organization/requests/request.html

23 lines
643 B
HTML
Raw Normal View History

2022-05-30 01:59:53 -05:00
{% extends "organization/home-base.html" %}
2020-01-21 15:35:58 +09:00
2022-05-30 01:59:53 -05:00
{% block org_js %}
2023-01-27 17:11:10 -06:00
<script type="text/javascript">
$(function () {
$('#id_reason').keydown(function (e) {
if (e.ctrlKey && (e.keyCode === 13 || e.keyCode === 10)) {
$(this).closest('form').submit();
}
});
});
</script>
2020-01-21 15:35:58 +09:00
{% endblock %}
2022-05-30 01:59:53 -05:00
{% block middle_content %}
2023-01-27 17:11:10 -06:00
<form action="" method="post" class="form-area">
{% csrf_token %}
<p><label for="{{ form.reason.id_for_label }}"><b>{{ _('Your reason for joining:') }}</b></label></p>
<p>{{ form.reason }}</p>
<button type="submit">{{ _('Request') }}</button>
</form>
2020-01-21 15:35:58 +09:00
{% endblock %}