- <h3>My client parameters</h3>
- <p>Here are your client parameters.</p>
- <ul>
- <li>Client ID: {{ client_id }}</li>
- <li>Client secret: {{ client_secret }}</li>
- </ul>
- <a class="waves-effect waves-light btn" href="{{ path('developer') }}">Back to Developer main page</a>
+ <p>{% trans %}You are about to create a new client. Please fill the field below for the redirect URI of your application:{% endtrans %}</p>
+ {{ form_start(form) }}
+ {{ form_errors(form) }}
+
+ <div class="input-field col s12">
+ {{ form_label(form.redirect_uris) }}
+ {{ form_errors(form.redirect_uris) }}
+ {{ form_widget(form.redirect_uris) }}
+ </div>
+
+ <a href="{{ path('developer') }}" class="waves-effect waves-light grey btn">{% trans %}Back{% endtrans %}</a>
+ {{ form_widget(form.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }}
+
+ {{ form_rest(form) }}