Sha256: 2575b1ddee2143a8df612ab1482db49e642996c1f12ef460694ace381aa2bea9
Contents?: true
Size: 1.61 KB
Versions: 7
Compression:
Stored size: 1.61 KB
Contents
<!-- begin devise_login --> <keppler-partial 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 %> </keppler-partial> <!-- end devise_login -->
Version data entries
7 entries across 7 versions & 1 rubygems