doctrine.html.twig 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. {% extends "SensioDistributionBundle::Configurator/layout.html.twig" %}
  2. {% block title %}Symfony - Configure database{% endblock %}
  3. {% block content %}
  4. {% form_theme form "SensioDistributionBundle::Configurator/form.html.twig" %}
  5. {% include "SensioDistributionBundle::Configurator/steps.html.twig" with { "index": index, "count": count } %}
  6. <h1>Configure your Database</h1>
  7. <p>If your website needs a database connection, please configure it here.</p>
  8. {{ form_errors(form) }}
  9. <form action="{{ path('_configurator_step', { 'index': index }) }}" method="POST">
  10. <div class="symfony-form-column">
  11. {{ form_row(form.driver) }}
  12. {{ form_row(form.host) }}
  13. {{ form_row(form.name) }}
  14. </div>
  15. <div class="symfony-form-column">
  16. {{ form_row(form.user) }}
  17. {{ form_row(form.password) }}
  18. </div>
  19. {{ form_rest(form) }}
  20. <div class="symfony-form-footer">
  21. <p><input type="submit" value="Next Step" class="symfony-button-grey" /></p>
  22. <p>* mandatory fields</p>
  23. </div>
  24. </form>
  25. {% endblock %}