frequencies.rb 309 B

123456789101112131415
  1. ActiveAdmin.register Frequency do
  2. menu :priority => 20 #,:parent => "Bots"
  3. form do |f|
  4. f.inputs "Details" do
  5. f.input :name
  6. f.input :prefix
  7. f.input :helpmsg
  8. f.input :description
  9. f.input :activate, :input_html => { :checked => 'checked' }
  10. end
  11. f.buttons
  12. end
  13. end