Commit 890d1f77 authored by Milan's avatar Milan

correct rails admin html attributes

parent 29b965c9
...@@ -41,8 +41,11 @@ RailsAdmin.config do |config| ...@@ -41,8 +41,11 @@ RailsAdmin.config do |config|
config.model 'Blogpost' do config.model 'Blogpost' do
edit do edit do
configure :content do configure :title do
html_attributes rows: 80, cols: 70 html_attributes rows: 40
end
configure :body do
html_attributes rows: 40, cols: 70
end end
end end
end end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment