mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-19 06:22:16 +00:00
Add edit urls to API results.
Change mic API lookup to profile
This commit is contained in:
@@ -323,7 +323,7 @@
|
||||
|
||||
<input type="text" id="{{ form.mic.id_for_label }}-input"
|
||||
class="form-control autocomplete-json"
|
||||
data-sourceurl="{% url 'api_secure' model='mic' %}?fields=first_name,last_name,initials"
|
||||
data-sourceurl="{% url 'api_secure' model='profile' %}?fields=first_name,last_name,initials"
|
||||
data-target="{{ form.mic.id_for_label }}"
|
||||
value="{{ object.mic.name|default_if_none:"" }}"/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user