KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

edit_post.twig 1004B

9 years ago
1234567891011121314151617
  1. {% extends "layout.twig" %}
  2. {% block title %}${ "Edit “%s”" | translate | format(post.title | escape) }{% endblock %}
  3. {% block content %}
  4. ${ post.delete_link('<img src="'~ theme_url ~'/images/icons/delete.png" alt="delete" />'~ ("Delete" | translate), null, null, "button boo right") }
  5. <h1>${ "Editing &#8220;%s&#8221;" | translate | format(post.title | escape) }</h1>
  6. <form id="edit_form" class="${ post.feather | escape(true) }" action="{% admin "update_post" %}" method="post" accept-charset="utf-8" enctype="multipart/form-data">
  7. <fieldset>
  8. {% include "partials/post_fields.twig" %}
  9. <input type="hidden" name="id" value="$post.id" id="id" />
  10. <input type="hidden" name="feather" value="${ post.feather | escape(true) }" id="feather" />
  11. <input type="hidden" name="hash" value="$site.secure_hashkey" id="hash" />
  12. </fieldset>
  13. </form>
  14. {% endblock %}