NDOJ/templates/organization/edit.html

37 lines
898 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 %}
2020-01-21 06:35:58 +00:00
{{ form.media.js }}
<script type="text/javascript">
window.django = {jQuery: $};
function pluralidx(count) {
return (count == 1) ? 0 : 1;
}
function gettext(msgid) {
return msgid;
}
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>
{% endblock %}
2022-05-30 06:59:53 +00:00
{% block three_col_media %}
2020-01-21 06:35:58 +00:00
{{ form.media.css }}
{% endblock %}
2022-05-30 06:59:53 +00:00
{% block middle_content %}
{% include "organization/form.html" %}
{% endblock %}