description.html.twig

Same filename in this branch
  1. 8.x-1.x menu_example/templates/description.html.twig
  2. 8.x-1.x form_api_example/templates/description.html.twig
  3. 8.x-1.x js_example/templates/description.html.twig
  4. 8.x-1.x page_example/templates/description.html.twig
  5. 8.x-1.x node_type_example/templates/description.html.twig
  6. 8.x-1.x pager_example/templates/description.html.twig
  7. 8.x-1.x block_example/templates/description.html.twig
  8. 8.x-1.x tabledrag_example/templates/description.html.twig
  9. 8.x-1.x testing_example/templates/description.html.twig
  10. 8.x-1.x tour_example/templates/description.html.twig
  11. 8.x-1.x config_entity_example/templates/description.html.twig
  12. 8.x-1.x tests/modules/examples_description_test/templates/description.html.twig
  13. 8.x-1.x phpunit_example/templates/description.html.twig
  14. 8.x-1.x render_example/templates/description.html.twig
  15. 8.x-1.x field_permission_example/templates/description.html.twig
  16. 8.x-1.x stream_wrapper_example/templates/description.html.twig
  17. 8.x-1.x hooks_example/templates/description.html.twig
  18. 8.x-1.x field_example/templates/description.html.twig
Same filename in other branches
  1. 3.x modules/menu_example/templates/description.html.twig
  2. 3.x modules/form_api_example/templates/description.html.twig
  3. 3.x modules/js_example/templates/description.html.twig
  4. 3.x modules/page_example/templates/description.html.twig
  5. 3.x modules/node_type_example/templates/description.html.twig
  6. 3.x modules/pager_example/templates/description.html.twig
  7. 3.x modules/block_example/templates/description.html.twig
  8. 3.x modules/tabledrag_example/templates/description.html.twig
  9. 3.x modules/rest_example/templates/description.html.twig
  10. 3.x modules/testing_example/templates/description.html.twig
  11. 3.x modules/tour_example/templates/description.html.twig
  12. 3.x modules/config_entity_example/templates/description.html.twig
  13. 3.x modules/phpunit_example/templates/description.html.twig
  14. 3.x modules/render_example/templates/description.html.twig
  15. 3.x modules/field_permission_example/templates/description.html.twig
  16. 3.x modules/stream_wrapper_example/templates/description.html.twig
  17. 3.x modules/ajax_example/templates/description.html.twig
  18. 3.x modules/hooks_example/templates/description.html.twig
  19. 3.x modules/field_example/templates/description.html.twig
  20. 3.x tests/modules/examples_description_test/templates/description.html.twig
  21. 4.0.x modules/menu_example/templates/description.html.twig
  22. 4.0.x modules/form_api_example/templates/description.html.twig
  23. 4.0.x modules/js_example/templates/description.html.twig
  24. 4.0.x modules/page_example/templates/description.html.twig
  25. 4.0.x modules/node_type_example/templates/description.html.twig
  26. 4.0.x modules/pager_example/templates/description.html.twig
  27. 4.0.x modules/block_example/templates/description.html.twig
  28. 4.0.x modules/tabledrag_example/templates/description.html.twig
  29. 4.0.x modules/rest_example/templates/description.html.twig
  30. 4.0.x modules/testing_example/templates/description.html.twig
  31. 4.0.x modules/tour_example/templates/description.html.twig
  32. 4.0.x modules/config_entity_example/templates/description.html.twig
  33. 4.0.x modules/phpunit_example/templates/description.html.twig
  34. 4.0.x modules/render_example/templates/description.html.twig
  35. 4.0.x modules/field_permission_example/templates/description.html.twig
  36. 4.0.x modules/stream_wrapper_example/templates/description.html.twig
  37. 4.0.x modules/ajax_example/templates/description.html.twig
  38. 4.0.x modules/hooks_example/templates/description.html.twig
  39. 4.0.x modules/field_example/templates/description.html.twig
  40. 4.0.x tests/modules/examples_description_test/templates/description.html.twig
  41. 4.0.x modules/config_simple_example/templates/description.html.twig
{#

Description text for the Ajax Example.

#}

{% set simple_ajax_example = path('ajax_example.simplest') %}
{% set ajax_generate_textfields = path('ajax_example.autotextfields') %}
{% set ajax_submit = path('ajax_example.submit_driven_ajax') %}
{% set ajax_dependent_dropdown = path('ajax_example.dependent_dropdown') %}
{% set ajax_dependent_dropdown_nojs = path('ajax_example.dependent_dropdown', {'nojs': 'nojs'}) %}
{% set ajax_dynamic_form = path('ajax_example.dynamic_form_sections') %}
{% set ajax_dynamic_form_nojs = path('ajax_example.dynamic_form_sections', {'nojs': 'nojs'}) %}
{% set ajax_wizard_example = path('ajax_example.wizard') %}
{% set ajax_wizard_example_nojs = path('ajax_example.wizardnojs') %}

{% trans %}

The AJAX example module provides many examples of AJAX including forms, links, and AJAX commands.

Simplest AJAX Example

Generate textfields

Submit-driven AJAX

Dependent dropdown

Dependent dropdown w/ no JS

Dynamic form sections

Dynamic form sections w/ no JS

AJAX Wizard Example

AJAX Wizard Example w/JS turned off

{% endtrans %}

File

ajax_example/templates/description.html.twig

View source
  1. {#
  2. Description text for the Ajax Example.
  3. #}
  4. {% set simple_ajax_example = path('ajax_example.simplest') %}
  5. {% set ajax_generate_textfields = path('ajax_example.autotextfields') %}
  6. {% set ajax_submit = path('ajax_example.submit_driven_ajax') %}
  7. {% set ajax_dependent_dropdown = path('ajax_example.dependent_dropdown') %}
  8. {% set ajax_dependent_dropdown_nojs = path('ajax_example.dependent_dropdown', {'nojs': 'nojs'}) %}
  9. {% set ajax_dynamic_form = path('ajax_example.dynamic_form_sections') %}
  10. {% set ajax_dynamic_form_nojs = path('ajax_example.dynamic_form_sections', {'nojs': 'nojs'}) %}
  11. {% set ajax_wizard_example = path('ajax_example.wizard') %}
  12. {% set ajax_wizard_example_nojs = path('ajax_example.wizardnojs') %}
  13. {% trans %}
  14. <p>The AJAX example module provides many examples of AJAX including forms, links, and AJAX commands.</p>
  15. <p><a href={{ simple_ajax_example }}>Simplest AJAX Example</a></p>
  16. <p><a href={{ ajax_generate_textfields }}>Generate textfields</a></p>
  17. <p><a href={{ ajax_submit }}>Submit-driven AJAX</a></p>
  18. <p><a href={{ ajax_dependent_dropdown }}>Dependent dropdown</a></p>
  19. <p><a href={{ ajax_dependent_dropdown_nojs }}>Dependent dropdown w/ no JS</a></p>
  20. <p><a href={{ ajax_dynamic_form }}>Dynamic form sections</a></p>
  21. <p><a href={{ ajax_dynamic_form_nojs }}>Dynamic form sections w/ no JS</a></p>
  22. <p><a href={{ ajax_wizard_example }}>AJAX Wizard Example</a></p>
  23. <p><a href={{ ajax_wizard_example_nojs }}>AJAX Wizard Example w/JS turned off</a></p>
  24. {% endtrans %}