ui/twig/modules/gallery/includes/form.html.twig line 1

Open in your IDE?
  1. {% embed '@ui/create/forms/section.html.twig' with {
  2.     section: 'Basic',
  3.     active: true
  4. } %}
  5.     {% block content %}
  6.         <div class="row">
  7.             {{ form_row(dataForm.title, {
  8.                 helpText: 'A good title will make your gallery meaningful and sticky to the search engines.',
  9.             }) }}
  10.         </div>
  11.         <div class="row">
  12.             {{ form_row(dataForm.timestamp, {
  13.                 label: 'Posted Date',
  14.                 helpText: 'Add a date in the future to schedule your gallery to go live or leave the current time to go live now.',
  15.             }) }}
  16.         </div>
  17.         <div class="row">
  18.             {{ form_row(dataForm.description, {
  19.                 helpText: 'Enter a summary of your gallery and use the styles available in the tool bar.',
  20.             }) }}
  21.         </div>
  22.     {% endblock %}
  23. {% endembed %}
  24. {% embed '@ui/create/forms/section.html.twig' with {
  25.     section: 'Advanced'
  26. } %}
  27.     {% block content %}
  28.         <div class="row">
  29.             {{ form_row(dataForm.slug, {
  30.                 label: 'URL',
  31.                 helpText: 'The URL seen in the browser URL field when viewing this gallery.',
  32.             }) }}
  33.         </div>
  34.         <div class="row">
  35.             {{ form_row(dataForm.abstract, {
  36.                 label: 'Teaser',
  37.                 helpText: 'Teaser text is a brief summary of the gallery in a list view. If none is entered, the first 90 characters of the description is used.',
  38.             }) }}
  39.         </div>
  40.         <div class="row">
  41.             {{ form_row(dataForm.standardMetadata.title, {
  42.                 helpText: 'Enter a friendly title for the search engines and better SEO.',
  43.             }) }}
  44.         </div>
  45.         <div class="row">
  46.             {{ form_row(dataForm.standardMetadata.description, {
  47.                 helpText: 'Enter a brief description that describes this content.',
  48.             }) }}
  49.         </div>
  50.         <div class="row">
  51.             {{ form_row(dataForm.tags, {
  52.                 label: 'Tags',
  53.                 helpText: '<a target="_blank" href="https://help.schoolnow.com/kb/tags">Select tags</a> for this article for use with other widgets. Tags are not visible to the public.',
  54.             }) }}
  55.         </div>
  56.         <div class="row">
  57.             {{ form_row(dataForm.socialImage, {}) }}
  58.         </div>
  59.         <div class="row">
  60.             {{ form_row(dataForm.standardMetadata.keywords, {
  61.                 helpText: '<a target="_blank" href="https://help.schoolnow.com/kb/should-i-bother-with-meta-keywords-if-the-search-engines-dont-use-them-any-longer">Select keywords</a> that are relevant to this gallery for use by search engines.',
  62.             }) }}
  63.         </div>
  64.         <div class="row">
  65.             {{ form_row(dataForm.standardMetadata.robots, {
  66.                 helpText: 'Tell robots whether or not to index this gallery. Note: not all robots will acknowledge this.',
  67.             }) }}
  68.         </div>
  69.     {% endblock %}
  70. {% endembed %}