Skip to content

Commit

Permalink
fix: drop htmx loading in the templates - it should be done globally
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed Jul 29, 2024
1 parent 24bd430 commit 181852b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ It is very generic and should work with most Django installations/projects.

`python manage.py migrate`


Some functionality from APIS Bibsonomy uses `htmx`, so you should [include htmx
into your web application](https://htmx.org/docs/#installing).


## Configuration


Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<script src="https://unpkg.com/htmx.org@1.9.0"></script>
<a href="{% url "apis_bibsonomy:referenceonlist" content_type object_pk %}"
{% if modal %}
hx-get="{% url "apis_bibsonomy:referenceonlistmodal" content_type object_pk %}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<script src="https://unpkg.com/htmx.org@1.9.0"></script>
{% include "apis_bibsonomy/partials/fix_select2_bootstrap_overflow.html" %}
<ul class="list-group list-group-flush">
{% for reference in object_list %}
Expand Down

0 comments on commit 181852b

Please sign in to comment.