Sha256: ec4a6e78873e6fe7b89e5382e292b1aa097e615671d394135e95fe4722aa343c

Contents?: true

Size: 463 Bytes

Versions: 6

Compression:

Stored size: 463 Bytes

Contents

<%- attributes.each{ |attribute| -%>
  <%- if attribute.type.to_s == "boolean" then -%>
          <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

6 entries across 6 versions & 1 rubygems

Version Path
beautiful_scaffold-1.0.2 lib/generators/templates/app/views/partials/_index_batch.html.erb
beautiful_scaffold-1.0.1 lib/generators/templates/app/views/partials/_index_batch.html.erb
beautiful_scaffold-1.0.0.pre lib/generators/templates/app/views/partials/_index_batch.html.erb
beautiful_scaffold-0.3.6 lib/generators/templates/app/views/partials/_index_batch.html.erb
beautiful_scaffold-0.3.5 lib/generators/templates/app/views/partials/_index_batch.html.erb
beautiful_scaffold-0.3.4 lib/generators/templates/app/views/partials/_index_batch.html.erb