<%= t('checkout.listing_overdue_item') -%>

<%= form_for(:checkouts, url: checkouts_path, html: {method: 'get'}) do -%>

<%= t('checkout.number_of_day_overdue') -%>: <%= text_field_tag 'days_overdue', h(@days_overdue), class: 'resource_integer' -%> <%= submit_tag t('page.search') -%>

<%- end -%> <%= render 'list', checkouts: @checkouts -%> <%- if @checkouts.size == 0 -%>

<%= t('checkout.no_checkout') -%>

<%- end -%>