refactor: using word depot in rear instead of admin
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<!--noformat-->
|
||||
{% macro field_widget(name, definitions, value) -%}
|
||||
{% set field = {
|
||||
'type': definitions.type,
|
||||
'name': name,
|
||||
'value': value,
|
||||
'placeholder': definitions.placeholder,
|
||||
'label': definitions.label,
|
||||
'readonly': definitions.readonly,
|
||||
'required': definitions.required,
|
||||
'options': definitions.options,
|
||||
}
|
||||
%}
|
||||
{% include definitions.widget %}
|
||||
{%- endmacro %}
|
||||
Reference in New Issue
Block a user