Commit 56f557f5 authored by Nicolas Widart's avatar Nicolas Widart

Make the text field views overridable

parent 92a7119c
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<div class="tab-content"> <div class="tab-content">
<div class="tab-pane {{ App::getLocale() == 'en' ? 'active' : '' }}" id="tab_1-1"> <div class="tab-pane {{ App::getLocale() == 'en' ? 'active' : '' }}" id="tab_1-1">
<?php foreach($moduleSettings as $settingName => $moduleInfo): ?> <?php foreach($moduleSettings as $settingName => $moduleInfo): ?>
@include("setting::admin.partials.module-{$moduleInfo['type']}-field", [ @include($moduleInfo['view'], [
'lang' => 'en', 'lang' => 'en',
'moduleSettings' => $moduleSettings, 'moduleSettings' => $moduleSettings,
'settings' => $settings, 'settings' => $settings,
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</div> </div>
<div class="tab-pane {{ App::getLocale() == 'fr' ? 'active' : '' }}" id="tab_2-2"> <div class="tab-pane {{ App::getLocale() == 'fr' ? 'active' : '' }}" id="tab_2-2">
<?php foreach($moduleSettings as $settingName => $moduleInfo): ?> <?php foreach($moduleSettings as $settingName => $moduleInfo): ?>
@include("setting::admin.partials.module-{$moduleInfo['type']}-field", [ @include($moduleInfo['view'], [
'lang' => 'fr', 'lang' => 'fr',
'moduleSettings' => $moduleSettings, 'moduleSettings' => $moduleSettings,
'settings' => $settings, 'settings' => $settings,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment