Skip to content

Commit 6649151

Browse files
committed
Allow special characters in textarea placeholder
1 parent 89767d8 commit 6649151

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/views/model.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@
7171
<label class="radio"><input type="radio" name="{{ $id }}" id="input_{{ $id }}_{{ $key }}" value="{{ $key }}">{{ $value }}</label>
7272
@endforeach
7373
@elseif ($column['type'] == 'tinymce' || $column['type'] == 'text' || $column['type'] == 'mediumtext' || $column['type'] == 'longtext')
74-
<textarea class="{{ $column['type'] == 'tinymce' || isset($column['tinymce']) ? 'tinymce' : '' }}" name="{{ $id }}" id="input_{{ $id }}" rows="{{$column['type'] == 'mediumtext' ? 10 : ($column['type'] == 'longtext' ? 15 : 5)}}" placeholder="{{ $lp->locale('placeholder', $column, '') }}"></textarea>
74+
<textarea class="{{ $column['type'] == 'tinymce' || isset($column['tinymce']) ? 'tinymce' : '' }}" name="{{ $id }}" id="input_{{ $id }}" rows="{{$column['type'] == 'mediumtext' ? 10 : ($column['type'] == 'longtext' ? 15 : 5)}}" placeholder="{!! $lp->locale('placeholder', $column, '') !!}"></textarea>
7575
@elseif ($column['type'] == 'array')
76-
<textarea class="array" name="{{ $id }}" id="input_{{ $id }}" rows="20" placeholder="{{ $lp->locale('placeholder', $column, '') }}"></textarea>
76+
<textarea class="array" name="{{ $id }}" id="input_{{ $id }}" rows="20" placeholder="{!! $lp->locale('placeholder', $column, '') !!}"></textarea>
7777
<table class="array"></table>
7878
@elseif ($column['type'] == 'htmlview')
79-
<textarea class="htmlview" name="{{ $id }}" id="input_{{ $id }}" rows="20" placeholder="{{ $lp->locale('placeholder', $column, '') }}"></textarea>
79+
<textarea class="htmlview" name="{{ $id }}" id="input_{{ $id }}" rows="20" placeholder="{!! $lp->locale('placeholder', $column, '') !!}"></textarea>
8080
<div class="htmlview"></div>
8181
@elseif ($column['type'] == 'image' || $column['type'] == 'images')
8282
<textarea class="images" name="{{ $id }}" id="input_{{ $id }}" data-url="{{ rtrim(config('admin.media_url'), '/') }}/"></textarea>

0 commit comments

Comments
 (0)