From 71470cca9aa13b7efb40487c0d97d90c237e41a7 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 14 Oct 2019 20:00:58 +0200 Subject: [PATCH] set default to show event time Signed-off-by: Thomas Citharel --- lib/mobilizon/events/event_options.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mobilizon/events/event_options.ex b/lib/mobilizon/events/event_options.ex index 422a5a381..d077f0b4a 100644 --- a/lib/mobilizon/events/event_options.ex +++ b/lib/mobilizon/events/event_options.ex @@ -49,8 +49,8 @@ defmodule Mobilizon.Events.EventOptions do field(:program, :string) field(:comment_moderation, CommentModeration) field(:show_participation_price, :boolean) - field(:show_start_time, :boolean) - field(:show_end_time, :boolean) + field(:show_start_time, :boolean, default: true) + field(:show_end_time, :boolean, default: true) embeds_many(:offers, EventOffer) embeds_many(:participation_condition, EventParticipationCondition)