Sha256: d206d23b385bd9c0919beca688af5cf8c2f1c0dfa558fb72bd1672ecb4cc8686
Contents?: true
Size: 585 Bytes
Versions: 19
Compression:
Stored size: 585 Bytes
Contents
<% field_name_from = "#{field}_from" %> <% field_name_to = "#{field}_to" %> <% val = nil %> <% val = params[model.underscore][field_name_from] if params[model.underscore].present? and params[model.underscore][field_name_from].present? %> <%= text_field_tag "#{model.underscore}[#{field_name_from}]", val, :class => "datepick" %> até <% val = nil %> <% val = params[model.underscore][field_name_to] if params[model.underscore].present? and params[model.underscore][field_name_to].present? %> <%= text_field_tag "#{model.underscore}[#{field_name_to}]", val, :class => "datepick" %>
Version data entries
19 entries across 15 versions & 1 rubygems