Added helper to description field.

This commit is contained in:
2026-07-01 13:41:58 +02:00
parent 0c7f8d001d
commit ee767a433b
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@
</div>
<div class="form-group" x-ref="descriptionField">
<x-form-field-title name="Content" required="true" />
<x-form-field-title name="Content" helper="You must write in markdown. Click on the interrogation mark in the toolbar to learn more about Markdown." required="true" />
<x-markdown-textarea name="description" value="{{ old('description', $news->description ?? '') }}" />
<div class="form-error-text" x-show="errorKey === 'noDescription'" x-text="errorMessage"></div>
@error('description')

View File

@@ -120,7 +120,7 @@
@endif
<div class="form-group" x-ref="descriptionField">
<x-form-field-title name="{{ $words['description'] }}" required="true" />
<x-form-field-title name="{{ $words['description'] }}" helper="You must write in markdown. Click on the interrogation mark in the toolbar to learn more about Markdown." required="true" />
<x-markdown-textarea name="description" value="{{ old('description', $entry->description ?? '') }}" />
<div class="form-error-text" x-show="errorKey === 'noDescription'" x-text="errorMessage"></div>
@error('description')