OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/app/cells/settings/numeric_setting_cell.rb

15 lines
248 B

module Settings
##
# A text field to enter numeric values.
class NumericSettingCell < ::RailsCell
include SettingsHelper
options :unit, :title
options size: 3
def name # name of setting and tag
model
end
end
end