frequencies.rb 330 B

12345678910111213141516
  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 :delay
  10. f.input :activate, :input_html => { :checked => 'checked' }
  11. end
  12. f.buttons
  13. end
  14. end