diff --git a/assets/templates/asset_list_table_body.html b/assets/templates/asset_list_table_body.html index 661920ba..fbec39d8 100644 --- a/assets/templates/asset_list_table_body.html +++ b/assets/templates/asset_list_table_body.html @@ -7,9 +7,9 @@ {{ item.status }}
- - - + View + Edit + Duplicate
diff --git a/assets/templates/helpers/render_field.html b/assets/templates/helpers/render_field.html index e372f92c..b1cd91b3 100644 --- a/assets/templates/helpers/render_field.html +++ b/assets/templates/helpers/render_field.html @@ -3,13 +3,13 @@
{% if css %} - {% render_field field|add_class:'form-control' %} + {% render_field field|add_class:css %} {% elif disable_if_filled and field.value %} - {% render_field field|attr:'disabled'|add_class:'form-control' %} + {% render_field field|attr:'disabled' %} {% elif css and disable_if_filled %} - {% render_field field|add_class:'form-control'|attr:'disabled' %} + {% render_field field|add_class:css|attr:'disabled' %} {% else %} - {{ field|add_class:'form-control' }} + {{ field }} {% endif %}