mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-14 15:41:10 +00:00
Update requirements
- Use markdownify for rendering - Use markdownx for editing
This commit is contained in:
@@ -147,13 +147,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if part.notes %}
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading"><b>{% trans "Notes" %}</b></div>
|
||||
<div class="panel-body">{{ part.notes }}</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block js_load %}
|
||||
|
@@ -1,6 +1,7 @@
|
||||
{% extends "part/part_base.html" %}
|
||||
{% load static %}
|
||||
{% load i18n %}
|
||||
{% load markdownify %}
|
||||
|
||||
{% block details %}
|
||||
|
||||
@@ -8,6 +9,18 @@
|
||||
|
||||
<h4>{% trans "Part Notes" %}</h4>
|
||||
|
||||
Notes field goes here
|
||||
<div class='panel panel-default'>
|
||||
<div class='panel-body'>
|
||||
{{ part.notes | markdownify }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form method="post" action="">
|
||||
{% csrf_token %}
|
||||
|
||||
{{ form }}
|
||||
</form>
|
||||
|
||||
{{ form.media }}
|
||||
|
||||
{% endblock %}
|
Reference in New Issue
Block a user