agenda-libre-ruby/app/admin/translation.rb

12 lines
219 B
Ruby
Raw Normal View History

ActiveAdmin.register I18n::Backend::ActiveRecord::Translation do
permit_params :key, :value
2014-07-18 17:01:51 +02:00
form do |f|
f.inputs do
f.input :key
f.input :value, as: :pagedown_text
f.actions
end
end
end