File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11< div class ="card ">
22< div class ="card-block "> < h4 class ="card-title "> {{ i.name }}</ h4 >
3+ < table class ="table table-sm ">
4+ < thead > < tr > < th colspan ="2 "> Description</ th > </ tr > </ thead >
5+ < tbody >
6+ < tr >
7+ < td > {{ i.desc }}</ td >
8+ </ tr >
9+ </ tbody >
10+ </ table >
311 {% if i.identifier_set.exists or bucket_as_property %}
412 < table class ="table table-sm ">
513 < thead > < tr > < th colspan ="2 "> Properties</ th > </ tr > </ thead >
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ def add(request, bucket_id=None):
9494 identifier .save ()
9595 else :
9696 context = {
97- 'error_text' : 'Invalid Identifier: ' + identifier .errors .as_json ()
97+ 'error_text' : 'Invalid Identifier: ' + identifier .errors .as_json (escape_html = False )
9898 }
9999 return render (request , 'inventory/error.html' , context )
100100
You can’t perform that action at this time.
0 commit comments