allow adding photos to the public signing location release
This commit is contained in:
@@ -64,7 +64,8 @@ class Public::LocationReleasesController < Public::BaseController
|
|||||||
:person_address_country,
|
:person_address_country,
|
||||||
:signature_base64,
|
:signature_base64,
|
||||||
:locale, :contract_template, :filming_started_on, :filming_ended_on,
|
:locale, :contract_template, :filming_started_on, :filming_ended_on,
|
||||||
:filming_hours
|
:filming_hours,
|
||||||
|
photos: []
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ module DropzoneHelper
|
|||||||
"To Add Photos & Videos to the release:<br>Drag & Drop Files<br>or<br>Click or Tap here to browse photos and connect to Camera"
|
"To Add Photos & Videos to the release:<br>Drag & Drop Files<br>or<br>Click or Tap here to browse photos and connect to Camera"
|
||||||
when "music_release"
|
when "music_release"
|
||||||
"To Add Audio Files to the release:<br>Drag & Drop Files<br>or<br>Click or Tap here to browse files"
|
"To Add Audio Files to the release:<br>Drag & Drop Files<br>or<br>Click or Tap here to browse files"
|
||||||
|
when "location_release"
|
||||||
|
t 'location_releases.form.photos.dropzone_label'
|
||||||
when "directory"
|
when "directory"
|
||||||
"To Add Files to the Folder:<br>Drag & Drop Files<br>or<br>Click or Tap here to browse files"
|
"To Add Files to the Folder:<br>Drag & Drop Files<br>or<br>Click or Tap here to browse files"
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -45,6 +45,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<%= card_field_set_tag t(".photos.heading") do %>
|
||||||
|
<%= render "shared/photos_dropzone_fields", form: form, release: @location_release %>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<%= card_field_set_tag t(".signature.heading") do %>
|
<%= card_field_set_tag t(".signature.heading") do %>
|
||||||
<%= render "shared/signature_fields", form: form, instruction: 'An Authorized Signatory' %>
|
<%= render "shared/signature_fields", form: form, instruction: 'An Authorized Signatory' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -556,6 +556,7 @@ en:
|
|||||||
heading: 1 of 4 Location Details
|
heading: 1 of 4 Location Details
|
||||||
photos:
|
photos:
|
||||||
heading: 4 of 4 Photos
|
heading: 4 of 4 Photos
|
||||||
|
dropzone_label: Tap to take a photo of the Property (optional)
|
||||||
signer_details:
|
signer_details:
|
||||||
heading: 2 of 4 Owner Details
|
heading: 2 of 4 Owner Details
|
||||||
index:
|
index:
|
||||||
@@ -802,6 +803,8 @@ en:
|
|||||||
heading: Location Information
|
heading: Location Information
|
||||||
signature:
|
signature:
|
||||||
heading: Sign Below
|
heading: Sign Below
|
||||||
|
photos:
|
||||||
|
heading: Photos
|
||||||
material_releases:
|
material_releases:
|
||||||
create:
|
create:
|
||||||
notice: Your release has been signed. Thank you!
|
notice: Your release has been signed. Thank you!
|
||||||
|
|||||||
@@ -175,6 +175,10 @@ es:
|
|||||||
show:
|
show:
|
||||||
choose_project: ¿Qué proyecto de la lista de abajo asistirá?
|
choose_project: ¿Qué proyecto de la lista de abajo asistirá?
|
||||||
welcome_html: Bienvenidos a la plataforma de firma autorizaciónes de <strong>%{name}</strong>
|
welcome_html: Bienvenidos a la plataforma de firma autorizaciónes de <strong>%{name}</strong>
|
||||||
|
location_releases:
|
||||||
|
new:
|
||||||
|
photos:
|
||||||
|
heading: Photos (ES)
|
||||||
shared:
|
shared:
|
||||||
print: Print (ES)
|
print: Print (ES)
|
||||||
talent_releases:
|
talent_releases:
|
||||||
@@ -182,3 +186,7 @@ es:
|
|||||||
photos:
|
photos:
|
||||||
guardian_photo:
|
guardian_photo:
|
||||||
heading: Guardian Photo (ES)
|
heading: Guardian Photo (ES)
|
||||||
|
location_releases:
|
||||||
|
form:
|
||||||
|
photos:
|
||||||
|
dropzone_label: Tap to take a photo of the Property (optional) (ES)
|
||||||
|
|||||||
Reference in New Issue
Block a user