Fix form error messages not being displayed
This commit is contained in:
@@ -15,52 +15,52 @@
|
||||
<label for="name" class="control-label">Name*</label>
|
||||
<f:form.textfield class="form-control" property="name"/>
|
||||
<div class="help-block"
|
||||
v-show="formErrors.name">{{formErrors.name}}</div>
|
||||
v-show="formErrors.name" v-html="formErrors.name"></div>
|
||||
</div>
|
||||
<div class="form-group" :class="{ 'has-error': formErrors.company }">
|
||||
<label for="company" class="control-label">Firma/Verein</label>
|
||||
<f:form.textfield class="form-control" property="company"/>
|
||||
<div class="help-block"
|
||||
v-show="formErrors.company">{{formErrors.company}}</div>
|
||||
v-show="formErrors.company" v-html="formErrors.company"></div>
|
||||
</div>
|
||||
<div class="form-group" :class="{ 'has-error': formErrors.email }">
|
||||
<label for="email" class="control-label">E-Mail*</label>
|
||||
<f:form.textfield class="form-control" property="email"/>
|
||||
<div class="help-block"
|
||||
v-show="formErrors.email">{{formErrors.email}}</div>
|
||||
v-show="formErrors.email" v-html="formErrors.email"></div>
|
||||
</div>
|
||||
<div class="form-group" :class="{ 'has-error': formErrors.phone }">
|
||||
<label for="phone" class="control-label">Telefon/Fax*</label>
|
||||
<f:form.textfield class="form-control" property="phone"/>
|
||||
<div class="help-block"
|
||||
v-show="formErrors.phone">{{formErrors.phone}}</div>
|
||||
v-show="formErrors.phone" v-html="formErrors.phone"></div>
|
||||
</div>
|
||||
<div class="form-group" :class="{ 'has-error': formErrors.period }">
|
||||
<label for="period" class="control-label">Zeitraum</label>
|
||||
<f:form.textfield class="form-control" property="period"
|
||||
placeholder="tt.mm.jjjj - tt.mm.jjjj"/>
|
||||
<div class="help-block"
|
||||
v-show="formErrors.period">{{formErrors.period}}</div>
|
||||
v-show="formErrors.period" v-html="formErrors.period"></div>
|
||||
</div>
|
||||
<div class="form-group" :class="{ 'has-error': formErrors.duration }">
|
||||
<label for="duration" class="control-label">Aufenthaltsdauer</label>
|
||||
<f:form.textfield class="form-control" property="duration"
|
||||
placeholder="Tage inkl. An- & Abreisetag"/>
|
||||
<div class="help-block"
|
||||
v-show="formErrors.duration">{{formErrors.duration}}</div>
|
||||
v-show="formErrors.duration" v-html="formErrors.duration"></div>
|
||||
</div>
|
||||
<div class="form-group" :class="{ 'has-error': formErrors.pax }">
|
||||
<label for="pax" class="control-label">Anzahl der Personen</label>
|
||||
<f:form.textfield class="form-control" property="pax"
|
||||
placeholder="ab 15 Personen"/>
|
||||
<div class="help-block"
|
||||
v-show="formErrors.pax">{{formErrors.pax}}</div>
|
||||
v-show="formErrors.pax" v-html="formErrors.pax"></div>
|
||||
</div>
|
||||
<div class="form-group" :class="{ 'has-error': formErrors.age }">
|
||||
<label for="age" class="control-label">Durchschnittsalter</label>
|
||||
<f:form.textfield class="form-control" property="age"/>
|
||||
<div class="help-block"
|
||||
v-show="formErrors.age">{{formErrors.age}}</div>
|
||||
v-show="formErrors.age" v-html="formErrors.age"></div>
|
||||
</div>
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
@@ -76,7 +76,7 @@
|
||||
placeholder="z. B. Reiseleiter, Halbpension, Bus Anreise, Programm"
|
||||
cols="30" rows="5"/>
|
||||
<div class="help-block"
|
||||
v-show="formErrors.inquiry">{{formErrors.inquiry}}</div>
|
||||
v-show="formErrors.inquiry" v-html="formErrors.inquiry"></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="help-block">
|
||||
|
||||
@@ -15,19 +15,19 @@
|
||||
<label for="name" class="control-label">Name</label>
|
||||
<f:form.textfield class="form-control" property="name"/>
|
||||
<div class="help-block"
|
||||
v-show="formErrors.name">{{formErrors.name}}</div>
|
||||
v-show="formErrors.name" v-html="formErrors.name"></div>
|
||||
</div>
|
||||
<div class="form-group" :class="{ 'has-error': formErrors.email }">
|
||||
<label for="email" class="control-label">E-Mail</label>
|
||||
<f:form.textfield class="form-control" property="email"/>
|
||||
<div class="help-block"
|
||||
v-show="formErrors.email">{{formErrors.email}}</div>
|
||||
v-show="formErrors.email" v-html="formErrors.email"></div>
|
||||
</div>
|
||||
<div class="form-group" :class="{ 'has-error': formErrors.phone }">
|
||||
<label for="phone" class="control-label">Telefon</label>
|
||||
<f:form.textfield class="form-control" property="phone"/>
|
||||
<div class="help-block"
|
||||
v-show="formErrors.phone">{{formErrors.phone}}</div>
|
||||
v-show="formErrors.phone" v-html="formErrors.phone"></div>
|
||||
</div>
|
||||
<div class="form-group" :class="{ 'has-error': formErrors.inquiry }">
|
||||
<label for="inquiry" class="control-label">Anfrage</label>
|
||||
@@ -35,7 +35,7 @@
|
||||
property="inquiry"
|
||||
cols="30" rows="5"/>
|
||||
<div class="help-block"
|
||||
v-show="formErrors.inquiry">{{formErrors.inquiry}}</div>
|
||||
v-show="formErrors.inquiry" v-html="formErrors.inquiry"></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="help-block">
|
||||
|
||||
Reference in New Issue
Block a user