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/text_setting_cell.rb

17 lines
460 B

module Settings
##
# A language switch and text area for updating a localized text setting.
class TextSettingCell < ::RailsCell
include ActionView::Helpers::JavaScriptHelper
include ActionView::Helpers::FormOptionsHelper
include OpenProject::FormTagHelper
include TextFormattingHelper
options :name # name of setting and tag to differentiate between different language selects
def current_language
model
end
end
end