Skip to content
Snippets Groups Projects
Unverified Commit 26048714 authored by Sebastian Castro's avatar Sebastian Castro
Browse files

infobar admin: handle missing field (paragraph,, images)

parent 91a36003
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,6 @@
'separator': 'separator',
'header': 'header',
'files': 'files',
'images': '',
'elements': 'elements'
}
%}
......@@ -35,7 +34,7 @@
</tr>
{% for field in fields %}
{% if field.type != 'images' %}
{% if field.type in filterFromType|keys %}
{% set gogoFilter = filterFromType[field.type] %}
{% if field.type == 'text' %}{% set gogoFilter = field.subtype %}{% endif %}
{% if gogoFilter in ['text', 'email', 'textarea'] %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment