=============== In-line Editing =============== Mezzanine comes with the ability for content authors to edit content directly within a page while viewing it on the website, rather than having to log into the admin area. Content authors can simply log into the admin area as usual, but by selecting *Site* on the login screen the author will then be redirected back to the website where a small *Edit* icon will be found next to each piece of editable content, such as a page's title or a blog post's body. Clicking on the Edit icon will allow the author to update the individual piece of content without leaving the page. In-line editing can be disabled by setting :ref:`INLINE_EDITING_ENABLED` to ``False``. Template Configuration ====================== Making content in-line editable is as simple as wrapping model fields with a template tag in your templates. The default templates installed with Mezzanine all have their content configured to be in-line editable. When developing your own templates from scratch though, you'll need to perform this step yourself. The first step is to ensure the :func:`.editable_loader` template tag is called right before the closing ``
{% include "includes/footer_scripts.html" %}`` tag in each template. The recommended way to do this is to include ``includes/footer_scripts`` in your top-most base template:: {% load mezzanine_tags %}