%h1 Home

%h2
  = "Welcome #{current_user.first_name + ' ' + current_user.last_name}"

- if current_user.school_deputy
  %h3 Current Assigned Students
  %table
    %tr
      %th First name
      %th Last name
      %th School
      %th Updated school
      %th Grade
      %th
      %th

    - @students.each do |student|
      %tr
        %td= student.first_name
        %td= student.last_name
        %td= student.school.name unless student.school.nil?
        %td= student.updated_school.name unless student.updated_school.nil?
        %td= student.grade
        %td= link_to 'Show', student
        %td= link_to 'Edit', edit_student_path(student)
  = will_paginate @students

= link_to('Account Settings', edit_user_registration_path)


%h1 Home

%h2
  = "Welcome #{current_user.first_name + ' ' + current_user.last_name}"

%div{:style => 'min-height:400px;'}

- if current_user.school_deputy
  %h3 Current Assigned Students
  %table
    %tr
      %th First name
      %th Last name
      %th School
      %th Updated school
      %th Grade
      %th
      %th

    - @students.each do |student|
      %tr
        %td= student.first_name
        %td= student.last_name
        %td= student.school.name unless student.school.nil?
        %td= student.updated_school.name unless student.updated_school.nil?
        %td= student.grade
        %td= link_to 'Show', student
        %td= link_to 'Edit', edit_student_path(student)
  = will_paginate @students



Add minimum height on home index
Add minimum height on home index
