<%inherit file="../main.html" />
<%namespace name='static' file='../static_content.html'/>

<section class="find-courses">
  <%block name="university_header"/>
  <section class="container">
    <section class="courses university-courses">
      %for course in courses:
       <%include file="../course.html" args="course=course" />
      %endfor
    </section>

    <section class="message left">
      <%block name="university_description" />
    </section>
  </section>

<%block name="js_extra">
   <script type="text/javascript" src="${static.url('js/query-params.js')}"></script>
   <script type="text/javascript"">
      $(window).load(function() {
         if(getParameterByName('next')) {
              $('#login').trigger("click");
         }
      })
   </script>
</%block>


</section>
