Skip to content

Commit

Permalink
show uris in edit view, closes #77
Browse files Browse the repository at this point in the history
  • Loading branch information
csae8092 committed Jan 20, 2024
1 parent 3a0e4b6 commit 0383312
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions apis_core/apis_entities/templates/apis_entities/edit_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,22 @@ <h3 class="text-center">
</div>
</form>
<hr>
<div class="p-3">
<h4>URIS</h4>
<ul>
{% for x in instance.uri_set.all %}
<li>
<a href="{{ x }}">{{ x }}</a>
<a href="{{ x.get_edit_url }}" title="URI bearbeiten">
<i class="bi bi-pencil-square"></i>
</a> | <a href="{{ x.get_delete_url }}" title="URI löschen">
<i class="bi bi-trash3"></i>
</a>
</li>
{% endfor %}
</ul>
</div>
<hr>
<h4>Entitäten zusammenführen</h4>
<p>Die aktuelle Entität <strong>{{ instance }}</strong> wird gelöscht, deren Eigenschaften/Verbindungen aber auf die ausgewählten Entität übertragen.</p>
{% crispy form_merge_with form_merge_with.helper %}
Expand Down

0 comments on commit 0383312

Please sign in to comment.