adamphillips/activeadmin-cms

View on GitHub
lib/generators/active_admin/cms/recipe/templates/recipe.rb.erb

Summary

Maintainability
Test Coverage
module Recipes
  class <%= class_name %> < ActiveAdmin::Cms::Recipe
   
    define do 
 
      # Here is where you layout the admin fields for your recipe
      #
      # For example
      #
      # section :column_1 do
      #   string :heading, :hint => 'The 1st column heading'
      #   text :content, :hint => 'The rest of the content
      #   image :picture
      # end


    end
  end
end