- model_class = List
div.page-header= title :index, model_class
form#select-date-form.form-inline action='' method="get"
  label for="lists-date" data-t="lists.index.show_list_on_day"
  input#lists-date.datepicker type="text" name="date" value=@date.to_s('%Y-%m-%d')
.well
  - if @lists.any?
    = render 'lists_table', lists: @lists
  - else
    = no_content_given model_class
javascript:
  window.datepicker_options['onSelect'] = function(dateText, inst){$('#select-date-form').submit()}
