Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F904921
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Aug 29, 5:26 PM
Size
1 KB
Mime Type
text/x-diff
Expires
Sun, Aug 31, 5:26 PM (1 d, 4 h)
Engine
blob
Format
Raw Data
Handle
252323
Attached To
rWEBDNS WebDNS (edet4)
View Options
diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb
index 9e195d6..6144ca8 100644
--- a/app/views/devise/sessions/new.html.erb
+++ b/app/views/devise/sessions/new.html.erb
@@ -1,17 +1,24 @@
+<div class="row">
+ <div class="col-sm-4 col-md-offset-4">
+
<h2>Log in</h2>
<%= bootstrap_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
+ <%= link_to WebDNS.settings[:saml_login_text], auth_saml_path, class: 'btn btn-info btn-block btn-lg' %>
+
+ or else use a local account:
<%= f.email_field :email, autofocus: true %>
<%= f.password_field :password, autocomplete: 'off' %>
<% if devise_mapping.rememberable? -%>
<%= f.check_box :remember_me %>
<% end -%>
<div class="actions">
- <%= f.submit 'Log in', class: 'btn btn-primary' %>
- <%= link_to WebDNS.settings[:saml_login_text], auth_saml_path, class: 'btn btn-default' %>
+ <%= f.submit 'Log in', class: 'btn btn-primary btn-lg' %>
+ <%= render 'devise/shared/links' %>
</div>
<% end %>
-<%= render 'devise/shared/links' %>
+ </div>
+</div>
Event Timeline
Log In to Comment