{% set current_theme = current_theme() %} {{ current_theme.headertags() }} {{ current_theme.local_style() }} Crear nueva entrada del blog. {{ current_theme.navbar() }}
{{ current_theme.notify() }}

{{ title }}

{{ form.hidden_tag() }}
{{ form.title.label(class="form-label") }} {{ form.title(class="form-control") }} {% for error in form.title.errors %}
{{ error }}
{% endfor %}
{{ form.content.label(class="form-label") }} {{ form.content(class="form-control") }} {% for error in form.content.errors %}
{{ error }}
{% endfor %}
{{ form.tags.label(class="form-label") }} {{ form.tags(class="form-control", placeholder="Separar etiquetas con comas") }}
Separa las etiquetas con comas. {% if current_user.tipo != 'admin' %}Solo se asignarán etiquetas existentes.{% endif %}
{% for error in form.tags.errors %}
{{ error }}
{% endfor %}
{{ form.status.label(class="form-label") }} {{ form.status(class="form-select") }} {% for error in form.status.errors %}
{{ error }}
{% endfor %}
{{ form.allow_comments(class="form-check-input") }} {{ form.allow_comments.label(class="form-check-label") }}
{% for error in form.allow_comments.errors %}
{{ error }}
{% endfor %}
{% if current_user.tipo == 'admin' %} Cancelar {% else %} Cancelar {% endif %}