Upstream sync
This commit is contained in:
@@ -37,6 +37,10 @@ class Public::BroadcastsController < Public::BaseController
|
|||||||
|
|
||||||
def set_broadcast
|
def set_broadcast
|
||||||
@broadcast = Broadcast.find_by_token(params[:token])
|
@broadcast = Broadcast.find_by_token(params[:token])
|
||||||
|
|
||||||
|
unless @broadcast.present?
|
||||||
|
redirect_to [:new, :session], alert: t(".alert")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class MultiViewBroadcast
|
class MultiViewBroadcast
|
||||||
|
|||||||
@@ -22,6 +22,9 @@
|
|||||||
<%= form.text_field :guardian_last_name, required: appearance_release.minor?, wrapper_class: "col-sm-3" %>
|
<%= form.text_field :guardian_last_name, required: appearance_release.minor?, wrapper_class: "col-sm-3" %>
|
||||||
<%= form.phone_field :guardian_phone, wrapper_class: "col-sm-6" %>
|
<%= form.phone_field :guardian_phone, wrapper_class: "col-sm-6" %>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-row">
|
||||||
|
<%= form.text_field :guardian_email, wrapper_class: "col-sm-6" %>
|
||||||
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<%= form.text_field :guardian_address, wrapper_class: "col-sm-6" %>
|
<%= form.text_field :guardian_address, wrapper_class: "col-sm-6" %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -814,6 +814,9 @@ en:
|
|||||||
warning: If your photo appears sideways, it will be autocorrected when you submit your release.
|
warning: If your photo appears sideways, it will be autocorrected when you submit your release.
|
||||||
signature:
|
signature:
|
||||||
heading: Sign Below
|
heading: Sign Below
|
||||||
|
broadcasts:
|
||||||
|
show:
|
||||||
|
alert: That broadcast is no longer available
|
||||||
location_releases:
|
location_releases:
|
||||||
create:
|
create:
|
||||||
notice: Your release has been signed. Thank you!
|
notice: Your release has been signed. Thank you!
|
||||||
|
|||||||
Reference in New Issue
Block a user