mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-07-31 15:55:18 +00:00
continue additional metadata
This commit is contained in:
@@ -7,15 +7,15 @@
|
||||
</div>
|
||||
|
||||
<div class="col s12 m8">
|
||||
<form method="POST">
|
||||
<div class="card">
|
||||
<form method="POST">
|
||||
<div class="card-content">
|
||||
{{ edit_corpus_file_form.hidden_tag() }}
|
||||
<div class="row">
|
||||
<div class="col s12 m4">
|
||||
<div class="input-field">
|
||||
<i class="material-icons prefix">person</i>
|
||||
{{ edit_corpus_file_form.author(data_length='64', value=corpus_file.author) }}
|
||||
{{ edit_corpus_file_form.author(data_length='255', value=corpus_file.author) }}
|
||||
{{ edit_corpus_file_form.author.label }}
|
||||
{% for error in edit_corpus_file_form.author.errors %}
|
||||
<span class="helper-text red-text">{{ error }}</span>
|
||||
@@ -25,7 +25,7 @@
|
||||
<div class="col s12 m4">
|
||||
<div class="input-field">
|
||||
<i class="material-icons prefix">title</i>
|
||||
{{ edit_corpus_file_form.title(data_length='64', value=corpus_file.title) }}
|
||||
{{ edit_corpus_file_form.title(data_length='255', value=corpus_file.title) }}
|
||||
{{ edit_corpus_file_form.title.label }}
|
||||
{% for error in edit_corpus_file_form.title.errors %}
|
||||
<span class="helper-text red-text">{{ error }}</span>
|
||||
@@ -47,6 +47,7 @@
|
||||
<div class="card-action right-align">
|
||||
<button class="btn waves-effect waves-light" id="submit" name="submit" type="submit">Submit<i class="material-icons right">send</i></button>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<ul class="collapsible hoverable">
|
||||
<li>
|
||||
@@ -62,9 +63,7 @@
|
||||
or field.name == "csrf_token"
|
||||
or field.name == "title"
|
||||
or field.name == "publishing_year") %}
|
||||
<dl>
|
||||
{{ render_field_with_value(field, corpus_file)}}
|
||||
</dl>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
@@ -73,6 +72,5 @@
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user