62 lines
2.8 KiB
HTML
62 lines
2.8 KiB
HTML
|
<th:block th:utext="#{title.contact.dtl}"></th:block>
|
||
|
<form id="formContact" name="formContact" th:action="@{'/resources/contact-details'}"
|
||
|
autocomplete="off" th:method="post">
|
||
|
<input type="hidden" th:value="${profile?.wrkrRegId}" name="workerRegId">
|
||
|
<input type="hidden" th:value="${profile?.wrkrRegNo}" name="wrkrRegNo">
|
||
|
<input type="hidden" th:value="${updateFlag}" name="updateFlag" />
|
||
|
<div class="row">
|
||
|
<div class="col-sm-12 col-md-2 col-lg-12">
|
||
|
<div class="form-group">
|
||
|
<th:block th:if="${!isView}">
|
||
|
<label class="required bmd-label-floating" th:text="#{lbl.wrkr.address}"></label>
|
||
|
<textarea class="form-control clear-whitespace" th:field="*{profile.workerProfile.addr1}" id="workerAddress"
|
||
|
required="required" maxlength="100" autofocus="autofocus" name="profile.workerProfile.addr1" rows="3">
|
||
|
</textarea>
|
||
|
</th:block>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col-sm-12 col-md-6 col-lg-6">
|
||
|
<div class="form-group">
|
||
|
<th:block th:if="${!isView}">
|
||
|
<label class="required bmd-label-floating" th:text="#{lbl.wrkr.zipcode}"></label>
|
||
|
<input type="text" class="form-control input-number"
|
||
|
th:field="*{profile.workerProfile.zipcode}" name="profile.workerProfile.zipcode"
|
||
|
required="required" maxlength="10" autofocus="autofocus" />
|
||
|
</th:block>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-sm-12 col-md-6 col-lg-6">
|
||
|
<div class="form-group is-focused">
|
||
|
<th:block th:if="${!isView}">
|
||
|
<label class="required bmd-label-floating" th:text="#{lbl.wrkr.country}"></label>
|
||
|
<select id="selCountryCode" name="profile.workerProfile.country.cntryCode"
|
||
|
class="form-control select-filter" th:field="*{profile.workerProfile.country.cntryCode}"
|
||
|
required="required">
|
||
|
<option value="" />
|
||
|
<option th:each="country : ${countryList}" th:value="${country.cntryCode}" th:text="${country.cntryDesc}"></option>
|
||
|
</select>
|
||
|
</th:block>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col-sm-12 col-md-6 col-lg-6">
|
||
|
<div class="form-group">
|
||
|
<th:block th:if="${!isView}">
|
||
|
<label class="required bmd-label-floating" th:text="#{lbl.wrkr.contact}"></label>
|
||
|
<input type="text" class="form-control input-contact input-number"
|
||
|
th:field="*{profile.workerProfile.contactNo}" name="profile.workerProfile.contactNo"
|
||
|
autofocus="autofocus" maxlength="20" required="required" data-init-country="BD"/>
|
||
|
</th:block>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="pb-3 text-right">
|
||
|
<div class="ml-auto button-group">
|
||
|
<a class="btn waves-effect waves-light btn-secondary" th:href="@{${'/resources/previousTab?previousTab='+previousTab + '&wrkrRegId=' + profile?.wrkrRegId + '&updateFlag=' + updateFlag}}">Previous</a>
|
||
|
<button type="submit" class="btn waves-effect waves-light btn-primary btn-check-device">Save and Continue</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|