Open KanybekMomukeyev opened 10 years ago
Here is how we will input html code:
ActiveAdmin.register Page do form do |f| f.inputs do f.input :title f.input :content, as: :html_editor end f.buttons end|
How to write show ?
Answer:
show do |hotel| attributes_table do row 'Hotel description' do raw(hotel.description) end end
Here is how we will input html code:
How to write show ?