Sha256: db854632b2f7a3e2bffaf928b77b5558e6d05582afa5960a06fd35086c257e2f
Contents?: true
Size: 289 Bytes
Versions: 13
Compression:
Stored size: 289 Bytes
Contents
<% collection = [['Todos', nil],['Não', false],['Sim', true]] selected = params[model.underscore][field] if params[model.underscore].present? and params[model.underscore][field].present? %> <%= select_tag "#{model.underscore}[#{field.to_s}]", options_for_select(collection, selected) %>
Version data entries
13 entries across 13 versions & 1 rubygems