Sha256: a1d9c59e6c0e73e9f52a6312e6158613e0dff496b4ee9c3844aac15322a385e8

Contents?: true

Size: 300 Bytes

Versions: 4

Compression:

Stored size: 300 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

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