Browse Source

Add help text to model in Rails Admin

pull/2539/head
Manny Dinssa 2 years ago
parent
commit
104192c857
  1. 9
      config/initializers/rails_admin.rb

9
config/initializers/rails_admin.rb

@ -32,6 +32,15 @@ RailsAdmin.config do |config|
label "CSV Variable Definition"
edit do
exclude_fields :last_accessed
field :log_type do
help "Required. Specify the type of log associated with this variable: 'lettings' or 'sales'."
end
field :user_type do
help "Required. Specify the user access associated with this variable: 'support' or 'user'. Support users have access to all variables, including those set as 'user'."
end
field :year do
help "Required. Specify the year this definition should be available from. This definition will be used in future years unless superseded by a newer definition."
end
end
end

Loading…
Cancel
Save