Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions app/controllers/events_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,17 @@ def event_params
:created_by_id,
:location_id,
:title,
:pre_title,
:videoconference_url,
:rhino_header,
:rhino_description,
:autoshow_cost,
:autoshow_date,
:autoshow_time,
:autoshow_registration,
:autoshow_location,
:autoshow_videoconference_url,
:autoshow_cost,
:autoshow_registration,
:autoshow_time,
:autoshow_title,
:autoshow_videoconference_url,
:pre_title,
:featured,
:start_date, :end_date,
Expand Down
2 changes: 1 addition & 1 deletion app/views/events/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<% if @event.autoshow_title %>
<div class="text-center mb-4 max-w-2xl mx-auto">
<% if @event.pre_title.present? %>
<p class="text-base font-semibold text-gray-700 mb-1" style="font-family: 'Telefon Bold', sans-serif"><%= @event.pre_title %></p>
<p class="text-3xl text-base font-semibold font-telefon text-gray-700 mb-2" style="font-family: 'Telefon Bold', sans-serif"><%= @event.pre_title %></p>
<% end %>
<h1 class="text-4xl font-bold text-green-800" style="font-family: Lato, sans-serif"><%= @event.title %></h1>
</div>
Expand Down