新增:打包编译功能
This commit is contained in:
11
backend/templates/rest_framework/raw_data_form.html
Normal file
11
backend/templates/rest_framework/raw_data_form.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{% load rest_framework %}
|
||||
{{ form.non_field_errors }}
|
||||
{% for field in form %}
|
||||
<div class="form-group">
|
||||
{{ field.label_tag|add_class:"col-sm-2 control-label" }}
|
||||
<div class="col-sm-10">
|
||||
{{ field|add_class:"form-control" }}
|
||||
<span class="help-block">{{ field.help_text|safe }}</span>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user