summaryrefslogtreecommitdiff
path: root/users/app/views/sessions
diff options
context:
space:
mode:
Diffstat (limited to 'users/app/views/sessions')
-rw-r--r--users/app/views/sessions/new.html.haml12
1 files changed, 1 insertions, 11 deletions
diff --git a/users/app/views/sessions/new.html.haml b/users/app/views/sessions/new.html.haml
index 20705b9..6743407 100644
--- a/users/app/views/sessions/new.html.haml
+++ b/users/app/views/sessions/new.html.haml
@@ -1,15 +1,5 @@
.span8.offset2
- %noscript.alert.alert-error=t :js_required
- #cookie_warning.alert.alert-error{:display => 'none'}
- =t :cookie_disabled_warning
- :javascript
- document.cookie = "testing=cookies_enabled; path=/";
- if(document.cookie.indexOf("testing=cookies_enabled") < 0)
- {
- document.getElementById('cookie_warning').style.display = 'block';
- } else {
- document.getElementById('cookie_warning').style.display = 'none';
- }
+ = render :partial => 'users/warnings'
%h2=t :login
= simple_form_for @session, :validate => true, :html => { :id => :new_session, :class => 'form-horizontal' } do |f|
%legend=t :login_message