2024-02-18 23:03:14 +00:00
|
|
|
{% extends "layout.html.twig" %}
|
2015-08-06 01:22:45 +00:00
|
|
|
|
2016-03-09 07:59:08 +00:00
|
|
|
{% block title %}{{ 'entry.edit.page_title'|trans }}{% endblock %}
|
2015-08-06 01:22:45 +00:00
|
|
|
|
|
|
|
{% 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>
|
|
|
|
|
2016-03-09 07:59:08 +00:00
|
|
|
<div class="input-field s12">
|
|
|
|
{{ form_label(form.url) }}
|
|
|
|
{{ form_widget(form.url) }}
|
|
|
|
</div>
|
2017-09-09 17:32:42 +00:00
|
|
|
|
|
|
|
<div class="input-field s12">
|
|
|
|
{{ form_label(form.origin_url) }}
|
|
|
|
{{ form_widget(form.origin_url) }}
|
|
|
|
</div>
|
2015-08-06 01:22:45 +00:00
|
|
|
<br>
|
2016-03-09 07:59:08 +00:00
|
|
|
|
|
|
|
{{ form_widget(form.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }}
|
2015-08-06 01:22:45 +00:00
|
|
|
</div>
|
2016-03-09 07:59:08 +00:00
|
|
|
{{ form_rest(form) }}
|
2015-08-06 01:22:45 +00:00
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|