add edit page for contract templates

This commit is contained in:
Bilal
2020-07-13 16:36:50 +02:00
parent 4c49a5db03
commit 2b95849229
6 changed files with 21 additions and 3 deletions

View File

@@ -297,6 +297,8 @@ en:
manage_large_audience: Easily manage large audiences with the crowd control feature
print_QR_code: Print out release QR codes
releases_automatically_organized: Releases are automatically organized as theyre submitted
edit:
heading: Edit Contract Template
contracts:
for_office_use_only:
description_labels:

View File

@@ -129,6 +129,8 @@ es:
manage_large_audience: Easily manage large audiences with the crowd control feature (ES)
print_QR_code: Print out release QR codes (ES)
releases_automatically_organized: Releases are automatically organized as theyre submitted (ES)
edit:
heading: Edit Contract Template (ES)
contracts:
for_office_use_only:
description_labels:

View File

@@ -56,7 +56,7 @@ Rails.application.routes.draw do
resources :talent_releases, except: [:show], concerns: [:contractable, :notable, :photoable]
resources :medical_releases, except: [:show], concerns: [:contractable, :notable, :photoable]
resources :misc_releases, except: [:show], concerns: [:contractable, :notable, :photoable]
resources :contract_templates, only: [:index, :new, :create, :destroy] do
resources :contract_templates, only: [:index, :new, :create, :edit, :update, :destroy] do
resource :qr_codes, only: [:show], controller: "contract_templates/qr_codes"
resource :blank_contracts, only: [:show, :new, :create], controller: "contract_templates/blank_contracts"
end