parent
a018c42e0f
commit
24280f7a68
@ -1,10 +1,15 @@
|
||||
%h2 Forgot your password?
|
||||
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
|
||||
= devise_error_messages!
|
||||
.field
|
||||
= f.label :email
|
||||
%br/
|
||||
= f.email_field :email, autofocus: true
|
||||
.actions
|
||||
= f.submit "Send me reset password instructions"
|
||||
= render "devise/shared/links"
|
||||
.row
|
||||
.offset-sm-2.col-sm-8
|
||||
%h3 Forgot Your Password
|
||||
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
|
||||
= devise_error_messages!
|
||||
|
||||
.form-group
|
||||
= f.label :email
|
||||
%br/
|
||||
= f.email_field :email, autofocus: true, class: 'form-control'
|
||||
|
||||
.form-group
|
||||
= f.submit "Send Me Reset Password Instructions", class: 'btn btn-primary'
|
||||
|
||||
= render "devise/shared/links"
|
||||
|
||||
@ -1,17 +1,27 @@
|
||||
.row
|
||||
.col-12
|
||||
%p= link_to "Create A New District", new_district_path
|
||||
- if user_signed_in? && current_user.super_admin?
|
||||
.row.super-admin
|
||||
.col-12
|
||||
%p= link_to "Create A New District", new_district_path
|
||||
|
||||
%p= link_to "Create A New School", new_school_path
|
||||
%p= link_to "Create A New School", new_school_path
|
||||
|
||||
|
||||
.row.mt-3
|
||||
.col-6
|
||||
%h4 Districts
|
||||
- @districts.each do |district|
|
||||
%p= link_to district.name, district
|
||||
- if user_signed_in?
|
||||
.row.mt-3
|
||||
-# .col-6
|
||||
-# %h4 Districts
|
||||
-# - @districts.each do |district|
|
||||
-# %p= link_to district.name, district
|
||||
|
||||
.col-6
|
||||
%h4 Schools
|
||||
- @schools.each do |school|
|
||||
%p= link_to school.name, school
|
||||
.col-6
|
||||
%h4 Schools
|
||||
- current_user.schools.each do |school|
|
||||
%p= link_to school.name, school
|
||||
|
||||
- else
|
||||
|
||||
.text-center.my-3.py-3
|
||||
%h3.my-3.py-3
|
||||
EdContext is currently in beta testing.
|
||||
%p.py-3
|
||||
If you have an account, please sign in.
|
||||
|
||||
Loading…
Reference in new issue