Sha256: 2f56ba74733dd758348da3e216396e278be5afa3366e38761d4161941435ca3d

Contents?: true

Size: 447 Bytes

Versions: 3

Compression:

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

3 entries across 3 versions & 1 rubygems

Version Path
beautiful_scaffold-0.0.8 lib/generators/templates/app/views/partials/_index_batch.html.erb
beautiful_scaffold-0.0.7 lib/generators/templates/app/views/partials/_index_batch.html.erb
beautiful_scaffold-0.0.6 lib/generators/templates/app/views/partials/_index_batch.html.erb