Skip to content

Commit

Permalink
feat: use apis_highlighter in detail view
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed Oct 6, 2023
1 parent 787c820 commit cee2a2f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends "apis_entities/detail_views/detail_generic.html" %}
{% load apis_highlighter %}

{% block content %}
{{ block.super }}
Expand All @@ -9,7 +10,7 @@ <h2>Texts</h2>
<div class="mt-2">
<h4>{{ text.kind }}</h4>
<div class="bg-light border p-2 text-{{text.id}}">
{{ text.text }}
{{ text | highlight_text }}
</div>
</div>
{% endfor %}
Expand Down

0 comments on commit cee2a2f

Please sign in to comment.