Sha256: 29db6ae9a13c35c1ac29154d195e5aa87ea295579330b1ee3b10dda0100d1585

Contents?: true

Size: 760 Bytes

Versions: 7

Compression:

Stored size: 760 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:
  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) ?
          'string' : col.type.to_s %><% end %>
  edit:
    <<: *new
    title: Edit <%= @model.to_s %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cambium-1.3.2 lib/generators/templates/config/admin/controller.yml.erb
cambium-1.3.1 lib/generators/templates/config/admin/controller.yml.erb
cambium-1.3.0 lib/generators/templates/config/admin/controller.yml.erb
cambium-1.2.3 lib/generators/templates/config/admin/controller.yml.erb
cambium-1.2.2 lib/generators/templates/config/admin/controller.yml.erb
cambium-1.2.1 lib/generators/templates/config/admin/controller.yml.erb
cambium-1.2.0 lib/generators/templates/config/admin/controller.yml.erb