## Edit Trip

@if (editForm) {
Code: @if (submitted && f['code'].errors) { @if (f['code'].errors?.['required']) {
Trip Code is required
} }
Name: @if (submitted && f['name'].errors) { @if (f['name'].errors?.['required']) {
Name is required
} }
Length: @if (submitted && f['length'].errors) { @if (f['length'].errors?.['required']) {
Length is required
} }
Start: @if (submitted && f['start'].errors) { @if (f['start'].errors?.['required']) {
Date is required
} }
Resort: @if (submitted && f['resort'].errors) { @if (f['resort'].errors?.['required']) {
Resort is required
} }
Per Person: @if (submitted && f['perPerson'].errors) { @if (f['perPerson'].errors?.['required']) {
Per Person is required
} }
Image Name: @if (submitted && f['image'].errors) { @if (f['image'].errors?.['required']) {
Image Name is required
} }
Description: @if (submitted && f['description'].errors) { @if (f['description'].errors?.['required']) {
Description is required
} }
}