nopaque/app/templates/corpora/create.html.j2

32 lines
1.2 KiB
Plaintext
Raw Normal View History

{% extends "base.html.j2" %}
2024-05-04 12:41:40 +00:00
{% import "wtf.html.j2" as wtf %}
2020-10-29 13:45:55 +00:00
{% block main_attribs %} class="service-scheme" data-service="corpus-analysis"{% endblock main_attribs %}
2020-10-29 13:45:55 +00:00
{% block page_content %}
2020-10-29 13:45:55 +00:00
<div class="container">
<div class="row">
<div class="col s12">
<h1 id="title">{{ title }}</h1>
2022-11-29 14:28:10 +00:00
<p>Here you can create a new corpus, just choose a title and a description which will help to identify it later. After the corpus has been created, annotated texts in <i>verticalized text format</i> can be added to it on the corpus overview page.</p>
2020-10-29 13:45:55 +00:00
</div>
2022-11-29 14:28:10 +00:00
<div class="col s12">
2020-10-29 13:45:55 +00:00
<div class="card">
<form method="POST">
<div class="card-content">
{{ form.hidden_tag() }}
2022-11-29 14:28:10 +00:00
{{ wtf.render_field(form.title, material_icon='title') }}
{{ wtf.render_field(form.description, material_icon='description') }}
</div>
2020-10-29 13:45:55 +00:00
<div class="card-action right-align">
2022-11-29 14:28:10 +00:00
<a class="waves-effect waves-light btn red" href="{{ url_for('main.dashboard', _anchor='corpora') }}"><i class="material-icons left">close</i>Cancel</a>
{{ wtf.render_field(form.submit, material_icon='send') }}
</div>
2020-10-29 13:45:55 +00:00
</form>
</div>
2020-10-29 13:45:55 +00:00
</div>
</div>
</div>
2021-12-01 13:15:20 +00:00
{% endblock page_content %}