<div id="search-page">
  <div class="page-header">
    <h2>
      <?php echo htmlspecialchars(t('Violations'),ENT_QUOTES,'UTF-8'); ?>
    </h2>
  </div>
  <form class="form-search" id="search-form">
    <div class="row">
      <div class="span8 offset2">
        <fieldset class="row">
          <input <?php echo MtHaml\Runtime::renderAttributes(array(array('class', 'span8'), array('id', 'searchbar'), array('type', 'text'), array('placeholder', (Yii::t("app", "Search by license plate")))), 'html5', 'UTF-8'); ?> />
        </fieldset>
      </div>
      <div class="span1" id="spinner"></div>
    </div>
  </form>
  <div class="row">
    <div id="filters" class="row span12 gray-box">
      <div class="span5">
        <h4>
          <i class="icon-time"></i>
          <?php echo htmlspecialchars(t('When'),ENT_QUOTES,'UTF-8'); ?>
        </h4>
        <div class="btn-group" id="when-buttons" data-toggle="buttons-radio" style="margin-bottom: 10px">
          <button id="this-week-button" class="btn" type="button"><?php echo htmlspecialchars(t('Last 7 days'),ENT_QUOTES,'UTF-8'); ?></button>
          <button id="this-month-button" class="btn" type="button"><?php echo htmlspecialchars(t('Last 30 days'),ENT_QUOTES,'UTF-8'); ?></button>
          <button id="this-monthtwo-button" class="btn" type="button"><?php echo htmlspecialchars(t('Last 60 days'),ENT_QUOTES,'UTF-8'); ?></button>
          <button id="this-monththree-button" class="btn" type="button"><?php echo htmlspecialchars(t('Last 90 days'),ENT_QUOTES,'UTF-8'); ?></button>
          <button id="this-threeyears-button" class="btn" type="button"><?php echo htmlspecialchars(t('Last 3 years'),ENT_QUOTES,'UTF-8'); ?></button>
        </div>
        <div id="date-interval">
          <div class="input-prepend input-append" data-date="2012-02-12" data-date-format="yyyy-mm-dd">
            <span class="add-on"><?php echo htmlspecialchars(t('From'),ENT_QUOTES,'UTF-8'); ?></span>
            <input id="start-date" class="date-picker span2" type="text" value="" readonly="true" />
            <span class="add-on icon-calendar"></span>
          </div>
          <div class="input-prepend input-append" data-date="2012-02-12" data-date-format="yyyy-mm-dd">
            <span class="add-on"><?php echo htmlspecialchars(t('To'),ENT_QUOTES,'UTF-8'); ?></span>
            <input id="end-date" class="date-picker span2" type="text" value="" readonly="true" />
            <span class="add-on icon-calendar"></span>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div <?php echo MtHaml\Runtime::renderAttributes(array(array('id', 'find-results'), array('data-behavior', ('SlidePagination'))), 'html5', 'UTF-8'); ?>></div>
</div>
