{% extends "part/part_base.html" %} {% load static %} {% load crispy_forms_tags %} {% load i18n %} {% load markdownify %} {% block details %} {% include 'part/tabs.html' with tab='notes' %} {% if editing %}

{% trans "Part Notes" %}


{% csrf_token %} {{ form }}
{{ form.media }} {% else %}

{% trans "Part Notes" %}


{{ part.notes | markdownify }}
{% endif %} {% endblock %} {% block js_ready %} {{ block.super }} {% if editing %} {% else %} $("#edit-notes").click(function() { location.href = "{% url 'part-notes' part.id %}?edit=1"; }); {% endif %} {% endblock %}