set default to show event time

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-10-14 20:00:58 +02:00
parent 9a854fd997
commit 5e9ca2f2f3
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -49,8 +49,8 @@ defmodule Mobilizon.Events.EventOptions do
field(:program, :string) field(:program, :string)
field(:comment_moderation, CommentModeration) field(:comment_moderation, CommentModeration)
field(:show_participation_price, :boolean) field(:show_participation_price, :boolean)
field(:show_start_time, :boolean) field(:show_start_time, :boolean, default: true)
field(:show_end_time, :boolean) field(:show_end_time, :boolean, default: true)
embeds_many(:offers, EventOffer) embeds_many(:offers, EventOffer)
embeds_many(:participation_condition, EventParticipationCondition) embeds_many(:participation_condition, EventParticipationCondition)