Sha256: 627161a5c72d95b7376711accf785b259858fd72ce011efa9d391c4efec9e8b5

Contents?: true

Size: 1.11 KB

Versions: 5

Compression:

Stored size: 1.11 KB

Contents

%form.form-horizontal(data-ajax-url="#{@chart_url}" data-chart="chartdiv")
  %fieldset(style="text-align: left")
    %legend Search:
  -if @menu_item.eql? "mails" or @menu_item.eql? "bounced_mails"
    %div(style="display: inline-block;vertical-align: middle;")
      %label Text
      %input.span4(type="text" name="q" value="#{@q}" placeholder="Type something…")
  %div.input-append.date(data-date="#{@s||Time.now.strftime('%d/%m/%Y')}" data-date-format="dd-mm-yyyy")
    %label From
    %input.span2(size="16" type="text" name="s" value="#{@s}" placeholder="dd-mm-yyyy")
    %span.add-on
      %i.icon-th
  %div.input-append.date(data-date="#{@e||Time.now.strftime('%d/%m/%Y')}" data-date-format="dd-mm-yyyy")
    %label To
    %input.span2(size="16" type="text" name="e" value="#{@e}" placeholder="dd-mm-yyyy")
    %span.add-on
      %i.icon-th
  %div(style="display: inline-block;vertical-align: middle;")
    %label Per page
    %select.span2(name="per")
      -5.times do |i|
        %option{:value=>(i+1)*10, :selected=>("selected" if @per.to_i.eql?((i+1)*10))}= (i+1)*10
  %div.form-actions
    %button.btn(type="submit") Search

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ses-proxy-0.3.2 app/views/_search_form.haml
ses-proxy-0.3.1 app/views/_search_form.haml
ses-proxy-0.3.0 app/views/_search_form.haml
ses-proxy-0.2.1 app/views/_search_form.haml
ses-proxy-0.2.0 app/views/_search_form.haml