- Catalog functionality integrated into document and document_version views
- small bugfixes and improvements
This commit is contained in:
@@ -8,11 +8,17 @@
|
||||
{% block content %}
|
||||
<form method="post">
|
||||
{{ form.hidden_tag() }}
|
||||
{% set disabled_fields = [] %}
|
||||
{% set exclude_fields = [] %}
|
||||
{% for field in form %}
|
||||
{{ render_field(field, disabled_fields, exclude_fields) }}
|
||||
{% endfor %}
|
||||
{% set disabled_fields = [] %}
|
||||
{% set exclude_fields = [] %}
|
||||
|
||||
{{ render_field(form.name, disabled_fields, exclude_fields) }}
|
||||
{{ render_field(form.valid_from, disabled_fields, exclude_fields) }}
|
||||
{{ render_field(form.valid_to, disabled_fields, exclude_fields) }}
|
||||
|
||||
<div class="form-group">
|
||||
<label for="catalog_name">Catalog</label>
|
||||
<input type="text" class="form-control" id="catalog_name" value="{{ catalog_name }}" readonly>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">Update Document</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user