mirror of
https://github.com/wallabag/wallabag.git
synced 2024-05-05 10:58:45 +00:00
1d3935fbd3
As baggy theme was removed and material is the only remaining theme, we don't need a theme switched anymore. So: - move all `*.twig` files from the material theme folder to the root - remove useless translations
47 lines
1.6 KiB
Twig
47 lines
1.6 KiB
Twig
{% extends "@WallabagCore/layout.html.twig" %}
|
|
|
|
{% block title %}{{ 'entry.edit.page_title'|trans }}{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
<div class="col s12">
|
|
<div class="card-panel">
|
|
|
|
<form name="entry" method="post" action="">
|
|
<div class="card-content">
|
|
{% if form_errors(form) %}
|
|
<span class="black-text">{{ form_errors(form) }}</span>
|
|
{% endif %}
|
|
|
|
{% if form_errors(form.title) %}
|
|
<span class="black-text">{{ form_errors(form.title) }}</span>
|
|
{% endif %}
|
|
|
|
<div class="input-field s12">
|
|
{{ form_label(form.title) }}
|
|
{{ form_widget(form.title) }}
|
|
</div>
|
|
|
|
<div class="input-field s12">
|
|
{{ form_label(form.url) }}
|
|
{{ form_widget(form.url) }}
|
|
</div>
|
|
|
|
<div class="input-field s12">
|
|
{{ form_label(form.origin_url) }}
|
|
{{ form_widget(form.origin_url) }}
|
|
</div>
|
|
<br>
|
|
|
|
{{ form_widget(form.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }}
|
|
</div>
|
|
{{ form_rest(form) }}
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|