|
@@ -142,7 +142,7 @@ class ButtonsColumn(tables.TemplateColumn):
|
|
|
</a>
|
|
</a>
|
|
|
{{% endif %}}
|
|
{{% endif %}}
|
|
|
{{% if "edit" in buttons and perms.{app_label}.change_{model_name} %}}
|
|
{{% if "edit" in buttons and perms.{app_label}.change_{model_name} %}}
|
|
|
- <a href="{{% url '{app_label}:{model_name}_edit' {pk_field}=record.{pk_field} %}}?return_url={{{{ request.path }}}}" class="btn btn-xs btn-warning" title="Edit">
|
|
|
|
|
|
|
+ <a href="{{% url '{app_label}:{model_name}_edit' {pk_field}=record.{pk_field} %}}?return_url={{{{ request.path }}}}" class="btn btn-xs btn-info" title="Edit">
|
|
|
<i class="fa fa-pencil"></i>
|
|
<i class="fa fa-pencil"></i>
|
|
|
</a>
|
|
</a>
|
|
|
{{% endif %}}
|
|
{{% endif %}}
|