Sha256: 3593c403ad70cf720ac66b2243b383a84e6f6d09fc279e6ea65c9a048538e077

Contents?: true

Size: 453 Bytes

Versions: 5

Compression:

Stored size: 453 Bytes

Contents

<%- attributes.each do |a| -%>
  <%- next if @beautiful_attributes.include?(a.name + ':color') -%>
  <%- attribute = "" -%>
  <%- caption = a.name.capitalize -%>
  <%- if @beautiful_attributes.include?(a.name + ':references') -%>
    <%- attribute = "_id" -%>
  <%- end -%>
      <%%= ransack_field("<%= singular_table_name %>", "<%= a.name %><%= attribute %>", f, "<%= caption %>"<%= (engine_name.blank? ? '' : ", \"#{engine_opt}\"") %>) %>
<%- end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
beautiful_scaffold-2.0.3 lib/generators/templates/app/views/partials/_index_search.html.erb
beautiful_scaffold-2.0.2 lib/generators/templates/app/views/partials/_index_search.html.erb
beautiful_scaffold-2.0.1 lib/generators/templates/app/views/partials/_index_search.html.erb
beautiful_scaffold-2.0.0 lib/generators/templates/app/views/partials/_index_search.html.erb
beautiful_scaffold-2.0.0.pre lib/generators/templates/app/views/partials/_index_search.html.erb