about summary refs log tree commit diff
path: root/app/views/doorkeeper/applications/_form.html.haml
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-14 17:41:13 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-14 17:41:13 +0100
commit25d7c1b6eaf03ddaec892c82f7d93a128b79a872 (patch)
treec9991b70e8cfd584c09b502bc39dc0763d017731 /app/views/doorkeeper/applications/_form.html.haml
parent34413615683677e26213263fb98f63b5aab64872 (diff)
Customizing the last of doorkeeper views, adding CSS for dashboard forms
Diffstat (limited to 'app/views/doorkeeper/applications/_form.html.haml')
-rw-r--r--app/views/doorkeeper/applications/_form.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/doorkeeper/applications/_form.html.haml b/app/views/doorkeeper/applications/_form.html.haml
new file mode 100644
index 000000000..94ba441a8
--- /dev/null
+++ b/app/views/doorkeeper/applications/_form.html.haml
@@ -0,0 +1,9 @@
+= simple_form_for application, url: doorkeeper_submit_path(application) do |f|
+  = f.error_notification
+
+  .form-inputs
+    = f.input :name
+    = f.input :redirect_uri, hint: t('doorkeeper.applications.help.redirect_uri')
+    = f.input :scopes, hint: t('doorkeeper.applications.help.scopes')
+  .form-actions
+    = f.button :submit, 'Save'