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,
|
||||
:signature_base64,
|
||||
:locale, :contract_template, :filming_started_on, :filming_ended_on,
|
||||
:filming_hours
|
||||
:filming_hours,
|
||||
photos: []
|
||||
)
|
||||
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"
|
||||
when "music_release"
|
||||
"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"
|
||||
"To Add Files to the Folder:<br>Drag & Drop Files<br>or<br>Click or Tap here to browse files"
|
||||
else
|
||||
|
||||
@@ -45,6 +45,10 @@
|
||||
</div>
|
||||
<% 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 %>
|
||||
<%= render "shared/signature_fields", form: form, instruction: 'An Authorized Signatory' %>
|
||||
<% end %>
|
||||
|
||||
@@ -556,6 +556,7 @@ en:
|
||||
heading: 1 of 4 Location Details
|
||||
photos:
|
||||
heading: 4 of 4 Photos
|
||||
dropzone_label: Tap to take a photo of the Property (optional)
|
||||
signer_details:
|
||||
heading: 2 of 4 Owner Details
|
||||
index:
|
||||
@@ -802,6 +803,8 @@ en:
|
||||
heading: Location Information
|
||||
signature:
|
||||
heading: Sign Below
|
||||
photos:
|
||||
heading: Photos
|
||||
material_releases:
|
||||
create:
|
||||
notice: Your release has been signed. Thank you!
|
||||
|
||||
@@ -175,6 +175,10 @@ es:
|
||||
show:
|
||||
choose_project: ¿Qué proyecto de la lista de abajo asistirá?
|
||||
welcome_html: Bienvenidos a la plataforma de firma autorizaciónes de <strong>%{name}</strong>
|
||||
location_releases:
|
||||
new:
|
||||
photos:
|
||||
heading: Photos (ES)
|
||||
shared:
|
||||
print: Print (ES)
|
||||
talent_releases:
|
||||
@@ -182,3 +186,7 @@ es:
|
||||
photos:
|
||||
guardian_photo:
|
||||
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