mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-07-29 07:01:35 +00:00
Move corpora views, and forms in package.
This commit is contained in:
@@ -88,15 +88,15 @@
|
||||
<div id="new-corpus-modal" class="modal">
|
||||
<div class="modal-content">
|
||||
<h4>New corpus</h4>
|
||||
<form action="{{ url_for('main.corpus_new') }}" method="POST">
|
||||
{{ create_corpus_form.hidden_tag() }}
|
||||
<form action="{{ url_for('corpora.add_corpus') }}" method="POST">
|
||||
{{ add_corpus_form.hidden_tag() }}
|
||||
<div class="row">
|
||||
<div class="col s12 m4">
|
||||
<div class="input-field">
|
||||
<i class="material-icons prefix">title</i>
|
||||
{{ create_corpus_form.title(data_length='32') }}
|
||||
{{ create_corpus_form.title.label }}
|
||||
{% for error in create_corpus_form.title.errors %}
|
||||
{{ add_corpus_form.title(data_length='32') }}
|
||||
{{ add_corpus_form.title.label }}
|
||||
{% for error in add_corpus_form.title.errors %}
|
||||
<span class="helper-text red-text">{{ error }}</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
@@ -104,9 +104,9 @@
|
||||
<div class="col s12 m8">
|
||||
<div class="input-field">
|
||||
<i class="material-icons prefix">description</i>
|
||||
{{ create_corpus_form.description(data_length='255') }}
|
||||
{{ create_corpus_form.description.label }}
|
||||
{% for error in create_corpus_form.description.errors %}
|
||||
{{ add_corpus_form.description(data_length='255') }}
|
||||
{{ add_corpus_form.description.label }}
|
||||
{% for error in add_corpus_form.description.errors %}
|
||||
<span class="helper-text red-text">{{ error }}</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user