Skip to content

Commit

Permalink
RENDEZVOUS-40: Fixed number of booked seats fields on front office
Browse files Browse the repository at this point in the history
  • Loading branch information
elysajouve committed Jul 6, 2022
1 parent 1c16b76 commit 620258b
Showing 1 changed file with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,17 +250,19 @@ <h2 class="current stepTitle" id="step3">
</#list>
</#if>
</#if>
<div class="form-group <#if formGroupError!=''>has-error</#if>">
<label class="col-xs-12"for="nbBookedSeats">#i18n{appointment.createAppointmentForm.labelMaxPeoplePerAppointment}*</label>
<div class="col-xs-12">
<input type="number" <#if nbPlacesToTake != 0 > readonly</#if> maxlength="3" id="nbBookedSeats" value="<#if appointment??>${appointment.nbBookedSeats!}</#if>" name="nbBookedSeats" class="form-control" min="1" max="${nbplaces}" onkeypress='return validateQty(event);'>
<#if formGroupError!=''>
${formGroupError}
<#else>
<#if nbplaces != 0 >
<span class="help-block">${nbplaces!} place(s) maximum</span>
<div class="col-xs-12">
<div class="form-group <#if formGroupError!=''>has-error</#if>">
<label class="col-xs-12 control-label" for="nbBookedSeats">#i18n{appointment.createAppointmentForm.labelMaxPeoplePerAppointment}*</label>
<div class="col-xs-12">
<input type="number" <#if nbPlacesToTake != 0 > readonly</#if> maxlength="3" id="nbBookedSeats" value="<#if appointment??>${appointment.nbBookedSeats!}</#if>" name="nbBookedSeats" class="form-control" min="1" max="${nbplaces}" onkeypress='return validateQty(event);'>
<#if formGroupError!=''>
${formGroupError}
<#else>
<#if nbplaces != 0 >
<span class="help-block">${nbplaces!} place(s) maximum</span>
</#if>
</#if>
</#if>
</div>
</div>
</div>
</#if>
Expand Down

0 comments on commit 620258b

Please sign in to comment.