NDOJ/templates/organization/edit.html

42 lines
1,001 B
HTML
Raw 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 }}
<style>
2022-05-30 06:59:53 +00:00
#org-field-wrapper-is_open {
display: contents;
2020-01-21 06:35:58 +00:00
}
</style>
{% endblock %}
2022-05-30 06:59:53 +00:00
{% block middle_content %}
{% include "organization/form.html" %}
{% endblock %}