2014-03-16 02:08:15 +01:00
|
|
|
= config_input form, :use_nick, as: :boolean
|
|
|
|
= config_input form, :tolerance_is_costly, as: :boolean
|
2021-02-05 16:19:05 +01:00
|
|
|
- distribution_strategy_options = FoodsoftConfig::DistributionStrategy.constants.map { |c| FoodsoftConfig::DistributionStrategy.const_get(c) }
|
|
|
|
= config_input form, :distribution_strategy, as: :select, collection: distribution_strategy_options,
|
|
|
|
include_blank: false, input_html: {class: 'input-xxlarge'}, label_method: ->(s){ t("config.keys.distribution_strategy_options.#{s}") }
|
2016-03-06 13:56:33 +01:00
|
|
|
= config_input form, :disable_invite, as: :boolean
|
2014-03-16 02:08:15 +01:00
|
|
|
= config_input form, :help_url, as: :url, input_html: {class: 'input-xlarge'}
|
2014-09-22 09:36:00 +02:00
|
|
|
= config_input form, :webstats_tracking_code, as: :text, input_html: {class: 'input-xxlarge', rows: 3}
|