]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/client.html.twig
Merge pull request #1761 from wallabag/v2-API-version
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / material / Developer / client.html.twig
index edebc7ee7ddaa31acfb1618e160c6fe28ede4bd6..c9ce6d0870233490b2f3bd288a99f57318336b4d 100644 (file)
@@ -3,7 +3,29 @@
 {% block title %}{% trans %}New client{% endtrans %}{% endblock %}
 
 {% block content %}
+<div class="row">
+    <div class="col s12">
+        <div class="card-panel settings">
 
-    Client ID: {{ client_id }}
+            <div class="row">
+                <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) }}
+            </div>
+
+        </div>
+    </div>
+</div>
 
 {% endblock %}