Sha256: e73d2252a532bd4aafc8f3cd141071f72b506735bb0ab7ff039b52d0bca5a566
Contents?: true
Size: 1.66 KB
Versions: 13
Compression:
Stored size: 1.66 KB
Contents
<!-- begin devise_login --> <div id='devise_login'> <%- unless current_user %> <%= form_for(User.new, :as => User.new, :url => session_path(User.new), :html => { :role => 'form'}) do |f| %> <%= f.text_field :path, type: :hidden, class: "form-control validate", :value => "#{controller_path}##{action_name}" %> <div class="form-group"> <label for="inputEmail3" class="col-sm-2 control-label">Email</label> <div class="col-sm-10"> <%= f.email_field :email, :autofocus => true, class: "form-control validate", :placeholder => "Email" %> </div> </div> <div class="form-group"> <label for="inputPassword3" class="col-sm-2 control-label">Password</label> <div class="col-sm-10"> <%= f.password_field :password, :autofocus => true, class: "form-control validate #{'invalid' if flash[:alert]}", :placeholder => "Password" %> </div> </div> <div class="form-group has-feedback"> <div class="devise-errors center-align"> <%- flash.each do |name, msg| %> <%= content_tag :div, msg, :id => "flash_#{name}" if msg.is_a?(String) %> <% end %> </div> </div> <div class="form-group"> <div class="col-sm-offset-2 col-sm-10"> <div class="checkbox"> <label> <input type="checkbox"> Remember me </label> </div> </div> </div> <div class="form-group"> <div class="col-sm-offset-2 col-sm-10"> <%= f.submit t("devise.sessions.log_in"), class: 'btn btn-primary' %> </div> </div> <% end %> <%- end %> </div> <!-- end devise_login -->
Version data entries
13 entries across 13 versions & 1 rubygems