Sha256: d70a4fcad7fad31508dc669df14010422c3e735597ab07e8466fb4f296fba79c

Contents?: true

Size: 451 Bytes

Versions: 27

Compression:

Stored size: 451 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

27 entries across 27 versions & 1 rubygems

Version Path
beautiful_scaffold-0.1.7 lib/generators/templates/app/views/partials/_index_batch.html.erb
beautiful_scaffold-0.1.5 lib/generators/templates/app/views/partials/_index_batch.html.erb
beautiful_scaffold-0.1.4 lib/generators/templates/app/views/partials/_index_batch.html.erb
beautiful_scaffold-0.1.3 lib/generators/templates/app/views/partials/_index_batch.html.erb
beautiful_scaffold-0.1.2 lib/generators/templates/app/views/partials/_index_batch.html.erb
beautiful_scaffold-0.1.1 lib/generators/templates/app/views/partials/_index_batch.html.erb
beautiful_scaffold-0.1.0 lib/generators/templates/app/views/partials/_index_batch.html.erb