FEATURE: add widget for displaying contact form
This commit is contained in:
@@ -26,9 +26,9 @@ class Presenter implements WidgetRenderer
|
||||
|
||||
$formData = json_decode($form->module_settings);
|
||||
|
||||
$code = '<div class="address ' . e($widget->containerClass) . '"';
|
||||
if ($widget->containerId) {
|
||||
$code .= ' id="' . e($widget->containerId);
|
||||
$code = '<div class="address-widget ' . e($widget->container_class) . '"';
|
||||
if ($widget->container_id) {
|
||||
$code .= ' id="' . e($widget->container_id).'"';
|
||||
}
|
||||
$code .= '>';
|
||||
$code .= "<p class='name'>".e($formData->companyName).'</p>';
|
||||
|
||||
Reference in New Issue
Block a user