Resources/views/admin/fields/translatable/number.blade.php 1 location
|
@@ 3-8 (lines=6) @@
|
| 1 |
|
<div class='form-group'> |
| 2 |
|
{!! Form::label($settingName . "[$lang]", trans($moduleInfo['description'])) !!} |
| 3 |
|
<?php if (isset($dbSettings[$settingName])): ?> |
| 4 |
|
<?php $value = $dbSettings[$settingName]->hasTranslation($lang) ? $dbSettings[$settingName]->translate($lang)->value : ''; ?> |
| 5 |
|
{!! Form::input('number', $settingName . "[$lang]", Input::old($settingName . "[$lang]", $value), ['class' => 'form-control', 'placeholder' => trans($moduleInfo['description'])]) !!} |
| 6 |
|
<?php else: ?> |
| 7 |
|
{!! Form::input('number', $settingName . "[$lang]", Input::old($settingName . "[$lang]"), ['class' => 'form-control', 'placeholder' => trans($moduleInfo['description'])]) !!} |
| 8 |
|
<?php endif; ?> |
| 9 |
|
</div> |
| 10 |
|
|
Resources/views/admin/fields/translatable/text.blade.php 1 location
|
@@ 3-8 (lines=6) @@
|
| 1 |
|
<div class='form-group'> |
| 2 |
|
{!! Form::label($settingName . "[$lang]", trans($moduleInfo['description'])) !!} |
| 3 |
|
<?php if (isset($dbSettings[$settingName])): ?> |
| 4 |
|
<?php $value = $dbSettings[$settingName]->hasTranslation($lang) ? $dbSettings[$settingName]->translate($lang)->value : ''; ?> |
| 5 |
|
{!! Form::text($settingName . "[$lang]", Input::old($settingName . "[$lang]", $value), ['class' => 'form-control', 'placeholder' => trans($moduleInfo['description'])]) !!} |
| 6 |
|
<?php else: ?> |
| 7 |
|
{!! Form::text($settingName . "[$lang]", Input::old($settingName . "[$lang]"), ['class' => 'form-control', 'placeholder' => trans($moduleInfo['description'])]) !!} |
| 8 |
|
<?php endif; ?> |
| 9 |
|
</div> |
| 10 |
|
|
Resources/views/admin/fields/translatable/textarea.blade.php 1 location
|
@@ 3-8 (lines=6) @@
|
| 1 |
|
<div class='form-group'> |
| 2 |
|
{!! Form::label($settingName . "[$lang]", trans($moduleInfo['description'])) !!} |
| 3 |
|
<?php if (isset($dbSettings[$settingName])): ?> |
| 4 |
|
<?php $value = $dbSettings[$settingName]->hasTranslation($lang) ? $dbSettings[$settingName]->translate($lang)->value : ''; ?> |
| 5 |
|
{!! Form::textarea($settingName . "[$lang]", Input::old($settingName . "[$lang]", $value), ['class' => 'form-control', 'placeholder' => trans($moduleInfo['description'])]) !!} |
| 6 |
|
<?php else: ?> |
| 7 |
|
{!! Form::textarea($settingName . "[$lang]", Input::old($settingName . "[$lang]"), ['class' => 'form-control', 'placeholder' => trans($moduleInfo['description'])]) !!} |
| 8 |
|
<?php endif; ?> |
| 9 |
|
</div> |
| 10 |
|
|
Resources/views/admin/fields/translatable/wysiwyg.blade.php 1 location
|
@@ 3-8 (lines=6) @@
|
| 1 |
|
<div class='form-group'> |
| 2 |
|
{!! Form::label($settingName . "[$lang]", trans($moduleInfo['description'])) !!} |
| 3 |
|
<?php if (isset($dbSettings[$settingName])): ?> |
| 4 |
|
<?php $value = $dbSettings[$settingName]->hasTranslation($lang) ? $dbSettings[$settingName]->translate($lang)->value : ''; ?> |
| 5 |
|
{!! Form::textarea($settingName . "[$lang]", Input::old($settingName . "[$lang]", $value), ['class' => 'form-control ckeditor', 'placeholder' => trans($moduleInfo['description'])]) !!} |
| 6 |
|
<?php else: ?> |
| 7 |
|
{!! Form::textarea($settingName . "[$lang]", Input::old($settingName . "[$lang]"), ['class' => 'form-control ckeditor', 'placeholder' => trans($moduleInfo['description'])]) !!} |
| 8 |
|
<?php endif; ?> |
| 9 |
|
</div> |
| 10 |
|
|