Sha256: 50a6133fdf789ae22faa6534e74dbec7555e6c5987023caec6587f2407c841b6

Contents?: true

Size: 711 Bytes

Versions: 12

Compression:

Stored size: 711 Bytes

Contents

model: <%= @model.to_s %>
table:
  title: <%= @model_pl.titleize %>
  scope: all
  columns:<% @columns.each do |col| %>
    <%= "#{col.name}:" %>
      heading: <%= "#{col.name.titleize}" %><% end %>
  buttons:
    new: New <%= @model.to_s %>
export:
  button: Export <%= @model.to_s.pluralize %>
  columns:<% @columns.each do |col| %>
    <%= "#{col.name}:" %>
      label: <%= "#{col.name.titleize}" %><% end %>
form:
  new: &new
    title: New <%= @model.to_s %>
    fields:<% @columns.each do |col| %>
      <%= "#{col.name}:" %>
        type: <%= ['integer','decimal','float'].include?(col.type.to_s) ?
          'string' : col.type.to_s %><% end %>
  edit:
    <<: *new
    title: Edit <%= @model.to_s %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cambium-1.1.6 lib/generators/templates/config/admin/controller.yml.erb
cambium-1.1.5 lib/generators/templates/config/admin/controller.yml.erb
cambium-1.1.4 lib/generators/templates/config/admin/controller.yml.erb
cambium-1.1.3 lib/generators/templates/config/admin/controller.yml.erb
cambium-1.1.2 lib/generators/templates/config/admin/controller.yml.erb
cambium-1.1.1 lib/generators/templates/config/admin/controller.yml.erb
cambium-1.1.0 lib/generators/templates/config/admin/controller.yml.erb
cambium-1.0.4 lib/generators/templates/config/admin/controller.yml.erb
cambium-1.0.3 lib/generators/templates/config/admin/controller.yml.erb
cambium-1.0.2 lib/generators/templates/config/admin/controller.yml.erb
cambium-1.0.1 lib/generators/templates/config/admin/controller.yml.erb
cambium-1.0.0 lib/generators/templates/config/admin/controller.yml.erb