{% extends "_base.html" %}

{% from '_email.html' import email_display %}
{% from '_email.html' import email_search_form %}
{% from '_nav.html' import email_subnav with context %}

{% block content %}
{{ email_subnav() }}

<div class="row">
  <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
    {{ email_search_form() }}
  </div>
</div>

{{ email_display(emails, 'No emails matching query.') }}
{% endblock %}

{% extends "_base.html" %}

{% from '_email.html' import email_display with context %}
{% from '_email.html' import email_search_form %}
{% from '_nav.html' import email_subnav with context %}

{% block content %}
{{ email_subnav() }}

<div class="row">
  <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
    {{ email_search_form() }}
  </div>
</div>

{{ email_display(emails, 'No emails matching query.') }}
{% endblock %}

Fix current_user undefined error in email search
Fix current_user undefined error in email search
