jumpserver/apps/assets/templates/assets/asset_update.html

15 lines
435 B
HTML

{% extends 'assets/asset_create.html' %}
{% load bootstrap3 %}
{% load i18n %}
{% block extra %}
<div class="hr-line-dashed"></div>
<h3>{% trans 'Configuration' %}</h3>
{% bootstrap_field form.number layout="horizontal" %}
{% endblock %}
{% block formUrl %}
var the_url = '{% url 'api-assets:asset-detail' pk=object.id %}';
var redirect_to = '{% url "assets:asset-list" %}';
var method = 'PUT';
{% endblock %}