mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-09-01 02:28:12 +02:00
Merge branch 'release/1.10.18'
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# v1.10.18
|
||||
## 07/19/2021
|
||||
|
||||
1. [](#improved)
|
||||
* Add logic to allow fieldset form field inside a list field [#2159](https://github.com/getgrav/grav-plugin-admin/pull/2159)
|
||||
|
||||
# v1.10.17
|
||||
## 06/15/2021
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: Admin Panel
|
||||
slug: admin
|
||||
type: plugin
|
||||
version: 1.10.17
|
||||
version: 1.10.18
|
||||
description: Adds an advanced administration panel to manage your site
|
||||
icon: empire
|
||||
author:
|
||||
|
||||
@@ -105,11 +105,17 @@
|
||||
%}
|
||||
{% elseif child.type %}
|
||||
{% set originalValue = childValue %}
|
||||
{% set templateData = { field: child, value: childValue } %}
|
||||
|
||||
{% if child.type == 'fieldset' %}
|
||||
{% set templateData = templateData|merge({val: childValue}) %}
|
||||
{% endif %}
|
||||
|
||||
{%
|
||||
include [
|
||||
"forms/fields/#{child.type}/#{child.type}.html.twig",
|
||||
'forms/fields/text/text.html.twig'
|
||||
] with { field: child, value: childValue }
|
||||
] with templateData
|
||||
%}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user