Sha256: 842d132d13da33e04e18d9b88a800fb8314d18ef186eeebb8bfd613c7bc2bdaa
Contents?: true
Size: 778 Bytes
Versions: 1
Compression:
Stored size: 778 Bytes
Contents
<%- id_prefix = "#{@schema}::#{to_html_id @rel_name}::#{to_html_id @col_name}" -%> <div class="filter_condition"> <%= _("От:") %> <%- from_id = "#{id_prefix}_from" -%> <%= hidden_field_tag "#{@field_prefix}[op]", ">=" %> <%= text_field_tag "#{@field_prefix}[val]", nil, {:id => from_id, :maxlength => 10, :size => 10 } %> </div> <div class="filter_condition"> <%= _("До:") %> <%- to_id = "#{id_prefix}_to" -%> <%= raw(filter_column_fields) %> <%= hidden_field_tag "#{@field_prefix}[op]", "<=" %> <%= text_field_tag "#{@field_prefix}[val]", nil, {:id => to_id,:maxlength => 10, :size => 10 } %> </div> <%- for id in [from_id, to_id] do -%> <%= javascript_tag %Q!$jq('[id="#{id}"]').datepicker({dateFormat: 'yy-mm-dd'})! %> <%- end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
visual_query-0.3.0 | app/views/queries/filters/_date.html.erb |