Simplify min/max abstract length feature
Also clarify that those are words...
This commit is contained in:
parent
bb59c9a4d9
commit
9514171e33
3 changed files with 10 additions and 13 deletions
|
|
@ -8,6 +8,6 @@ module EventTypesHelper
|
|||
# ====Returns
|
||||
# * +String+ -> number of registrations / max allowed registrations
|
||||
def event_type_select_options(event_types = {})
|
||||
event_types.map { |type| ["#{type.title} - #{show_time(type.length)}", type.id] }
|
||||
event_types.map { |type| ["#{type.title} - #{show_time(type.length)} - #{type.minimum_abstract_length} to #{type.maximum_abstract_length} words", type.id] }
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue