Browse Source

Change placeholder

imwald
Nuša Pukšič 3 months ago
parent
commit
1bcb936f47
  1. 2
      src/Form/EditorType.php

2
src/Form/EditorType.php

@ -25,7 +25,7 @@ class EditorType extends AbstractType
'required' => false, 'required' => false,
'help' => 'Leave empty to auto-generate from title. When editing an existing article, changing the slug will fork the article.', 'help' => 'Leave empty to auto-generate from title. When editing an existing article, changing the slug will fork the article.',
'sanitize_html' => true, 'sanitize_html' => true,
'attr' => ['placeholder' => 'awesome-article-slug', 'class' => 'form-control'] 'attr' => ['placeholder' => 'decent-article-slug', 'class' => 'form-control']
]) ])
->add('title', TextType::class, [ ->add('title', TextType::class, [
'required' => true, 'required' => true,

Loading…
Cancel
Save