You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Mongoid when you define for example something like this:
class User
include Mongoid::Document
field :firstname, :type => String
field :lastname, :type => String
field :admin, :type => Boolean
field :birthdate, :type => Date
end
It just creates text_field's for all input types, rather than a date select or checkbox for boolean.
In Mongoid when you define for example something like this:
It just creates
text_field
's for all input types, rather than a date select or checkbox for boolean.https://github.com/pilu/web-app-theme/blob/master/lib/generators/web_app_theme/themed/templates/view_form.html.erb
The text was updated successfully, but these errors were encountered: