Skip to content

Commit 7272f3f

Browse files
Federico Livatabacitu
authored andcommitted
Allow HTML in fields help block (#33)
* Add browse field parameter to disable readonly state * Add italian translation * Translate missing strings * Remove unused translations * Allow HTML in fields help block
1 parent 15b0246 commit 7272f3f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/resources/views/fields/browse.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class="form-control"
2222
</div>
2323

2424
@if (isset($field['hint']))
25-
<p class="help-block">{{ $field['hint'] }}</p>
25+
<p class="help-block">{!! $field['hint'] !!}</p>
2626
@endif
2727

2828
</div>

src/resources/views/fields/text.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ class="form-control"
1616
@endforeach
1717
>
1818
@if (isset($field['hint']))
19-
<p class="help-block">{{ $field['hint'] }}</p>
19+
<p class="help-block">{!! $field['hint'] !!}</p>
2020
@endif
2121
</div>

src/resources/views/tone_fields/layouts/field.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
@endif
1818

1919
@if (array_key_exists('hint', $field) && $field['hint'])
20-
<span class="hint">*{{ $field['hint'] }}</span>
20+
<span class="hint">*{!! $field['hint'] !!}</span>
2121
@endif
2222
</div>
2323
@endif

0 commit comments

Comments
 (0)