summaryrefslogtreecommitdiff
path: root/chef-server/lib/views/openid_server/decide.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'chef-server/lib/views/openid_server/decide.html.haml')
-rw-r--r--chef-server/lib/views/openid_server/decide.html.haml27
1 files changed, 27 insertions, 0 deletions
diff --git a/chef-server/lib/views/openid_server/decide.html.haml b/chef-server/lib/views/openid_server/decide.html.haml
new file mode 100644
index 0000000000..8082a5068d
--- /dev/null
+++ b/chef-server/lib/views/openid_server/decide.html.haml
@@ -0,0 +1,27 @@
+%form{:method => "post", :action => url(:openid_server_decision)}
+ %table
+ %tr
+ %td Site:
+ %td= @oidreq.trust_root
+ - if @oidreq.id_select
+ %tr
+ %td{:colspan => "2"}
+ You entered the server identifier at the relying party.
+ You will need to send an identifier of your choosing.
+ Enter a username and password below.
+ %tr
+ %td Identity to send:
+ %td
+ %input{:type => "text", :name => "id_to_send", :size => "25"}
+ - else
+ %tr
+ %td Identity:
+ %td= @oidreq.identity
+ %tr
+ %td
+ %label{:for => "password"} Password:
+ %td
+ %input{:type => "password", :name => "password"}
+ %input{:type => "submit", :name => "submit", :value => "Authenticate"}
+ %input{:type => "submit", :name => "cancel", :value => "Cancel"}
+