Fixed supplier not working on all the create asset template

This commit is contained in:
Matthew Smith
2020-01-03 21:09:45 +00:00
parent c779c24d63
commit 096ca24336
3 changed files with 17 additions and 23 deletions

View File

@@ -1,19 +1,8 @@
{% extends 'base_assets.html' %}
{% load widget_tweaks %}
{% load static %}
{% load asset_templatetags %}
{% block title %}Asset {{ object.asset_id }}{% endblock %}
{% block css %}
<link rel="stylesheet" href="{% static "css/bootstrap-select.min.css" %}"/>
<link rel="stylesheet" href="{% static "css/ajax-bootstrap-select.css" %}"/>
{% endblock %}
{% block preload_js %}
<script src="{% static "js/bootstrap-select.js" %}"></script>
<script src="{% static "js/ajax-bootstrap-select.js" %}"></script>
{% endblock %}
{% block content %}
<div class="page-header">

View File

@@ -1,19 +1,8 @@
{% extends 'base_assets.html' %}
{% load widget_tweaks %}
{% load static %}
{% load asset_templatetags %}
{% block title %}Asset {{ object.asset_id }}{% endblock %}
{% block css %}
<link rel="stylesheet" href="{% static "css/bootstrap-select.min.css" %}"/>
<link rel="stylesheet" href="{% static "css/ajax-bootstrap-select.css" %}"/>
{% endblock %}
{% block preload_js %}
<script src="{% static "js/bootstrap-select.js" %}"></script>
<script src="{% static "js/ajax-bootstrap-select.js" %}"></script>
{% endblock %}
{% block content %}
<div class="page-header">
@@ -79,6 +68,5 @@
}
checkIfCableHidden();
</script>
<script src="{% static "js/autocompleter.js" %}"></script>
{% endif %}
{% endblock %}

View File

@@ -1,5 +1,22 @@
{% load widget_tweaks %}
{% load asset_templatetags %}
{% load static %}
{% block css %}
<link rel="stylesheet" href="{% static "css/bootstrap-select.min.css" %}"/>
<link rel="stylesheet" href="{% static "css/ajax-bootstrap-select.css" %}"/>
{% endblock %}
{% block preload_js %}
<script src="{% static "js/bootstrap-select.js" %}"></script>
<script src="{% static "js/ajax-bootstrap-select.js" %}"></script>
{% endblock %}
{% block js %}
<script src="{% static "js/autocompleter.js" %}"></script>
{% endblock %}
<div class="panel panel-default">
<div class="panel-heading">
Purchase Details