瀏覽代碼

Merge branch 'develop' of https://forge.laclic.fr/Laclic/SovBundle into develop

develop
Fab 3 年之前
父節點
當前提交
6089dfbfc7
共有 2 個檔案被更改,包括 8 行新增4 行删除
  1. +2
    -0
      Resources/assets/app/adminlte/index/index.scss
  2. +6
    -4
      Resources/views/adminlte/block/table_filters.html.twig

+ 2
- 0
Resources/assets/app/adminlte/index/index.scss 查看文件

@@ -2,8 +2,10 @@ table.table {
.dropdown-actions {
display: inline-block ;
}

.actions {
white-space: nowrap;
text-align: center;
}
}


+ 6
- 4
Resources/views/adminlte/block/table_filters.html.twig 查看文件

@@ -41,10 +41,12 @@
})
.generateUrl() %}

{% if 'TextType' in field.formType or 'IntegerType' in field.formType %}
{{ form_widget(form_field, {'attr': {'autocomplete': 'off', 'data-lc-autocomplete-url' : url}|raw }) }}
{% else %}
{{ form_widget(form_field) }}
{% if not form_field.rendered %}
{% if 'TextType' in field.formType or 'IntegerType' in field.formType %}
{{ form_widget(form_field, {'attr': {'autocomplete': 'off', 'data-lc-autocomplete-url' : url}|raw }) }}
{% else %}
{{ form_widget(form_field) }}
{% endif %}
{% endif %}
</div>
{% endif %}

Loading…
取消
儲存