<%= f.input :start_at, as: :date, readonly: action_name == 'show' %>
<%= f.input :end_at, as: :date, readonly: action_name == 'show' %>