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

Make the text field views overridable

parent 92a7119c
......@@ -30,7 +30,7 @@
<div class="tab-content">
<div class="tab-pane {{ App::getLocale() == 'en' ? 'active' : '' }}" id="tab_1-1">
<?php foreach($moduleSettings as $settingName => $moduleInfo): ?>
@include("setting::admin.partials.module-{$moduleInfo['type']}-field", [
@include($moduleInfo['view'], [
'lang' => 'en',
'moduleSettings' => $moduleSettings,
'settings' => $settings,
......@@ -42,7 +42,7 @@
</div>
<div class="tab-pane {{ App::getLocale() == 'fr' ? 'active' : '' }}" id="tab_2-2">
<?php foreach($moduleSettings as $settingName => $moduleInfo): ?>
@include("setting::admin.partials.module-{$moduleInfo['type']}-field", [
@include($moduleInfo['view'], [
'lang' => 'fr',
'moduleSettings' => $moduleSettings,
'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