app/views/devise/ichain_sessions/new.html.haml
- content_for :title do
Sign In
.row
.col-md-6.col-md-offset-3
%h3 Sign In
%p.text-muted
Using your SUSE/openSUSE credentials from the
#{link_to('IDP Portal', 'https://idp-portal.suse.com')}.
= form_tag(@login_url, :method => :post, :enctype => 'application/x-www-form-urlencoded',:role => 'form') do
= hidden_field_tag :url, @back_url
= hidden_field_tag :context, @context
= hidden_field_tag :proxypath, @proxypath
.form-group
= label_tag :username, "Username"
= text_field_tag :username, "", :autofocus => true, :placeholder => 'Username', :class => 'form-control', :required => "required"
.form-group
= label_tag :Password, "Password"
= password_field_tag :password, "", :class => 'form-control', :required => "required"
.form-group
= button_tag(type: 'submit', class: "btn btn-success pull-right") do
= content_tag(:strong, 'Sign In')
- if devise_mapping.ichain_registerable?
= link_to "Sign up", new_ichain_registration_path(resource_name)