Sha256: d0150b0269aa96f3f1c7510d0f73e6e6d29a1fa650ae01df1761ce4021850aaf
Contents?: true
Size: 583 Bytes
Versions: 13
Compression:
Stored size: 583 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 => "integer" %> 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 => "integer" %>
Version data entries
13 entries across 13 versions & 1 rubygems