NDOJ/templates/organization/edit.html

37 lines
778 B
HTML
Raw Permalink Normal View History

2022-05-30 06:59:53 +00:00
{% extends "organization/home-base.html" %}
2020-01-21 06:35:58 +00:00
2022-05-30 06:59:53 +00:00
{% block org_js %}
2023-01-27 23:11:10 +00:00
{{ form.media.js }}
<script type="text/javascript">
window.django = {jQuery: $};
2020-01-21 06:35:58 +00:00
2023-01-27 23:11:10 +00:00
function pluralidx(count) {
return (count == 1) ? 0 : 1;
}
2020-01-21 06:35:58 +00:00
2023-01-27 23:11:10 +00:00
function gettext(msgid) {
return msgid;
}
2020-01-21 06:35:58 +00:00
2023-01-27 23:11:10 +00:00
function interpolate(fmt, obj, named) {
if (named) {
return fmt.replace(/%\(\w+\)s/g, function (match) {
return String(obj[match.slice(2, -2)])
});
} else {
return fmt.replace(/%s/g, function (match) {
return String(obj.shift())
});
}
}
</script>
2020-01-21 06:35:58 +00:00
{% endblock %}
2022-05-30 06:59:53 +00:00
{% block three_col_media %}
2023-01-27 23:11:10 +00:00
{{ form.media.css }}
2020-01-21 06:35:58 +00:00
{% endblock %}
2022-05-30 06:59:53 +00:00
{% block middle_content %}
2023-01-27 23:11:10 +00:00
{% include "organization/form.html" %}
2022-05-30 06:59:53 +00:00
{% endblock %}