Sha256: 76e72cfd0a03fda8254cbbdf5463aecb3658e2cdf8836dcd72808c1818ec08c6

Contents?: true

Size: 296 Bytes

Versions: 4

Compression:

Stored size: 296 Bytes

Contents

<% 
  ph = 'N'
  ac = {'data-autocompleta' => 'no' }
#debugger
  if (!f.object.nombres || f.object.nombres == 'N' || f.object.nombres == '')
    ph = 'Buscar'
    ac = { }
  end
%>
<%= f.input :nombres, placeholder: ph,
  value_method: lambda {|t| '' if t.nombres == 'N'},
  :input_html => ac
%>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
msip-2.2.0.beta1 app/views/msip/personas/_campo_nombres.html.erb
msip-2.2.0.alfa3 app/views/msip/personas/_campo_nombres.html.erb
msip-2.2.0.alfa2 app/views/msip/personas/_campo_nombres.html.erb
msip-2.2a2 app/views/msip/personas/_campo_nombres.html.erb