lib/generators/templates/config/admin/controller.yml.erb in cambium-1.1.6 vs lib/generators/templates/config/admin/controller.yml.erb in cambium-1.2.0
- old
+ new
@@ -11,9 +11,11 @@
button: Export <%= @model.to_s.pluralize %>
columns:<% @columns.each do |col| %>
<%= "#{col.name}:" %>
label: <%= "#{col.name.titleize}" %><% end %>
form:
+ buttons:
+ delete: Delete <%= @model.to_s %>
new: &new
title: New <%= @model.to_s %>
fields:<% @columns.each do |col| %>
<%= "#{col.name}:" %>
type: <%= ['integer','decimal','float'].include?(col.type.to_s) ?