add amendment field to contract template form

This commit is contained in:
Bilal
2020-07-20 20:02:07 +02:00
parent 8f13589c55
commit 9bf68d8fd6
5 changed files with 10 additions and 2 deletions

View File

@@ -22,6 +22,7 @@ class ContractTemplate < ApplicationRecord
has_rich_text :body
has_rich_text :guardian_clause
has_rich_text :signature_legal_text
has_rich_text :amendment_clause
validates :name, presence: true
validates :release_type, presence: true