1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-24 13:52:56 +02:00

feat(admin-panel): add help text for common form controls #280

This commit is contained in:
Awilum
2019-11-06 22:04:48 +03:00
parent e8e1aeda78
commit df2a63ffc1
3 changed files with 3 additions and 0 deletions

View File

@@ -204,6 +204,7 @@ admin_help_text_for_fieldsets_label: "The fieldsets label shown in the Admin Pan
admin_help_text_for_fieldsets_name: "The fieldsets unique name in lowercase chars only."
admin_help_text_for_fieldsets_icon: "The fieldsets valid :link icon class."
admin_help_text_for_snippets_name: "The snippets unique name in lowercase chars only."
admin_help_text_for_temlates_name: "The unique name in lowercase chars only."
admin_entries_visible: "Visible"
admin_entries_draft: "Draft"
admin_entries_hidden: "Hidden"

View File

@@ -9,6 +9,7 @@
<div class="form-group">
<label for="id">{{ tr('admin_name') }}</label>
<input type="text" id="id" name="id" value="" class="form-control" required="required" data-validation="length required" data-validation-length="min1" data-validation-error-msg="{{ tr('admin_error_name_empty_input') }}">
<small class="form-text text-muted">{{ tr('admin_help_text_for_temlates_name') }}</small>
</div>
<div class="form-group">
<label for="type">{{ tr('admin_type') }}</label>

View File

@@ -11,6 +11,7 @@
<div class="form-group">
<label for="id">{{ tr('admin_name') }}</label>
<input type="text" id="id" name="id" value="{{ id_current }}" class="form-control" required="required" data-validation="length required" data-validation-length="min1" data-validation-error-msg="{{ tr('admin_error_name_empty_input') }}">
<small class="form-text text-muted">{{ tr('admin_help_text_for_temlates_name') }}</small>
</div>
<div class="form-group">
<input type="submit" id="renameTemplate" name="rename_template" value="{{ tr('admin_save') }}" class="btn btn-black">