{% extends "layout.html.twig" %} {% import "js_helpers.html.twig" as js %} {% block header %} {{ parent() }} {{ js.date_picker }} {{ js.tool_bar }} {{ js.modal }} {{ js.meta_editor }} {{ js.confirm_close(['entry-form','comment-form']) }} {{ js.page_tabs(default_tab) }} {% endblock %} {% block content %} {{ parent() }}
{% form 'post' %}

{{ form_field('post_title',{'class':'maximal'}) }}

{{ form_field('post_excerpt',{'rows':5,'cols':50}) }}

{{ form_field('post_content',{'rows':current_user.options.edit_size,'cols':5}) }}

{{ form_field('post_notes',{'rows':5,'cols':50}) }}

{{ form_field('save')}} {% if preview_url is defined %} {{__('Preview')}} (p) {% endif %} {{form_field('delete',{'class':'delete'})}}

{{ form_field('cat_id',{'class':'maximal'})}}

{{ form_field('post_status')}}

{{ form_field('post_dt')}}

{{ form_field('post_format')}}

{{ form_field('post_open_comment')}}

{{ form_field('post_open_tb')}}

{{ form_field('post_selected')}}

{{ form_field('post_lang',{"class":"maximal"},{'nestedlabel':true})}}

{{ form_field('post_password',{"size":10, "class":"maximal"},{'nestedlabel':true})}}

{{ form_field('post_url',{"size":10, "class":"maximal"})}}

{{ __('Warning: If you set the URL manually, it may conflict with another entry.') }}

{% endform %}
{% if post_id is defined %}

{{__('Ping blogs')}}

{{__('Add a comment')}}

{% form 'add-comment' %}

{{ form_field('comment_author',{'size': 30}) }}

{{ form_field('comment_email',{'size': 30})}}

{{ form_field('comment_site',{'size': 30})}}

{{ form_field('comment_content',{'cols': 50,'rows':8})}}

{{ form_field('add') }}

{% endform %}
{% endif %} {% endblock %}