app/views/schools/transport_surveys/_app_config.html.erb
<%= hidden_field_tag :config, "",
data: {
equivalences: TransportSurvey.equivalences,
neutral: t('schools.transport_surveys.equivalences.neutral'),
run_on: @transport_survey.run_on.to_s,
run_identifier: TransportSurvey::Response.generate_unique_secure_token,
passenger_symbol: TransportSurvey::Response.passenger_symbol,
park_and_stride_mins: TransportSurvey::Response.park_and_stride_mins,
transport_types: TransportSurvey::TransportType.app_data,
notifications: I18n.t('schools.transport_surveys.app.notifications'),
pupils: I18n.t('schools.transport_surveys.edit.pupils'),
today: I18n.t('schools.transport_surveys.app.today'),
buttons: I18n.t('schools.transport_surveys.app.buttons'),
locale: I18n.locale
}
%>