{% if module_settings.actionbuttons|length > 0 %}
{% for actionbutton in module_settings.actionbuttons %}
Button Label:
{{actionbutton.label | trans}}
Button Color:
{{actionbutton.color}}
Colors
{% for basiccolor,variations in theme_colors%}
{{basiccolor}}
{% endfor %}
Icon:
{% if actionbutton.icon!="" %}{{actionbutton.icon}}{% else %}None Defined{% endif %}
Currently Selected: {{actionbutton.icon}}
{% for iconname,icon in material_icons %}
{{iconname}}
{% endfor %}
{% include 'themes/default/config/module/condition-field.html' with { is_group: "true", condition_rows: actionbutton.show_conditions, f_label: "Show on Conditions", f_name: "show_conditions", f_group: "actionbuttons_settings_"~actionbutton.id, f_validation: "actionbuttons_settings"} %}
{% include 'themes/default/config/module/update-field.html' with { is_group: "true", condition_rows: actionbutton.update_fields, f_label: "Update Fields", f_name: "update_fields", f_group: "actionbuttons_settings_"~actionbutton.id, f_validation: "actionbuttons_settings"} %}
Create Related Record:
{% if configured_modules[actionbutton.create_record] is defined %}
{{configured_modules[actionbutton.create_record].route.label}} ({{actionbutton.create_record}}){% endif %}