{# src/TMS/UsersBundle/Resources/views/Default/index.html.twig #}
{% extends "::layout.html.twig" %}

{% block header %}
	{#<form method="post" {{ form_enctype(form) }}>
		{#{{ form_widget(form) }}
		{#<input type="submit"/>
	{#</form> #}
{% endblock %}
	
{% block content %}
	<h1>Hello !</h1>
	<a href="{{ path('tms_users_dashboard', { 'username': 'KeRNeLith' }) }}">Link to your Dashboard</a>
	{#<a href="{{ path('tms_users_dashboard', { 'username': 'gupascal' }) }}">Link to your Dashboard</a>#}
{% endblock %}
{# src/TMS/UsersBundle/Resources/views/Default/index.html.twig #}
{% extends "::layout.html.twig" %}

{% block header %}
	{{ form_start(signup_form) }}
		{{ form_errors(signup_form) }}
		
		{{ form_row(signup_form.name) }}
		{{ form_row(signup_form.email) }}
		{{ form_row(signup_form.passwordHash) }}
		{{ form_row(signup_form.save) }}
	{{ form_end(signup_form) }}
{% endblock %}
	
{% block content %}
	<h1>Hello !</h1>
	<a href="{{ path('tms_users_dashboard', { 'username': 'KeRNeLith' }) }}">Link to your Dashboard</a>
	{#<a href="{{ path('tms_users_dashboard', { 'username': 'gupascal' }) }}">Link to your Dashboard</a>#}
{% endblock %}
Add form to register on the index page
Add form to register on the index page
