Sha256: c934f9ab1c70cc0d6cdf9c7d4920e2dcca91a5d037ba069bcb6b23114c91dcce

Contents?: true

Size: 458 Bytes

Versions: 5

Compression:

Stored size: 458 Bytes

Contents

<%- attributes.each{ |attribute| -%>
  <%- if attribute.type.to_s == "boolean" -%>
          <option value="<%= attribute.name %>.true"><%%= t(:settrueforattr, :attr => "'<%= attribute.name %>'", :default => "Set <%= attribute.name %> to true") %></option>
          <option value="<%= attribute.name %>.false"><%%= t(:setfalseforattr, :attr => "'<%= attribute.name %>'", :default => "Set <%= attribute.name %> to false") %></option>
  <%- 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_batch.html.erb
beautiful_scaffold-2.0.2 lib/generators/templates/app/views/partials/_index_batch.html.erb
beautiful_scaffold-2.0.1 lib/generators/templates/app/views/partials/_index_batch.html.erb
beautiful_scaffold-2.0.0 lib/generators/templates/app/views/partials/_index_batch.html.erb
beautiful_scaffold-2.0.0.pre lib/generators/templates/app/views/partials/_index_batch.html.erb