_filter_form.haml 432 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
- load bootstrap3

%form.filter-form{'action': '{{action}}', 'method': 'get'}

  - bootstrap_form form=form bound_css_class='filter-form-group'

  - buttons
    %button{'type': 'submit', 'class': 'btn btn-primary'}
      {% bootstrap_icon "filter" %} Filter
  - endbuttons

  - buttons
Nicolas Joyard's avatar
Nicolas Joyard committed
13
    %button{'type': 'submit', 'name': 'csv', 'class': 'btn btn-default'}
14
15
      {% bootstrap_icon "download-alt" %} Download as CSV
  - endbuttons