parent
a018c42e0f
commit
24280f7a68
@ -1,10 +1,15 @@
|
|||||||
%h2 Forgot your password?
|
.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|
|
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
|
||||||
= devise_error_messages!
|
= devise_error_messages!
|
||||||
.field
|
|
||||||
|
.form-group
|
||||||
= f.label :email
|
= f.label :email
|
||||||
%br/
|
%br/
|
||||||
= f.email_field :email, autofocus: true
|
= f.email_field :email, autofocus: true, class: 'form-control'
|
||||||
.actions
|
|
||||||
= f.submit "Send me reset password instructions"
|
.form-group
|
||||||
|
= f.submit "Send Me Reset Password Instructions", class: 'btn btn-primary'
|
||||||
|
|
||||||
= render "devise/shared/links"
|
= render "devise/shared/links"
|
||||||
|
|||||||
@ -1,17 +1,27 @@
|
|||||||
.row
|
- if user_signed_in? && current_user.super_admin?
|
||||||
|
.row.super-admin
|
||||||
.col-12
|
.col-12
|
||||||
%p= link_to "Create A New District", new_district_path
|
%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
|
||||||
|
|
||||||
|
|
||||||
|
- if user_signed_in?
|
||||||
.row.mt-3
|
.row.mt-3
|
||||||
.col-6
|
-# .col-6
|
||||||
%h4 Districts
|
-# %h4 Districts
|
||||||
- @districts.each do |district|
|
-# - @districts.each do |district|
|
||||||
%p= link_to district.name, district
|
-# %p= link_to district.name, district
|
||||||
|
|
||||||
.col-6
|
.col-6
|
||||||
%h4 Schools
|
%h4 Schools
|
||||||
- @schools.each do |school|
|
- current_user.schools.each do |school|
|
||||||
%p= link_to school.name, 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