86 lines
3.2 KiB
HTML
86 lines
3.2 KiB
HTML
<input type="hidden" th:field="*{doctorProfiles}" id="docProfiles"/>
|
|
<div class="mt-3">
|
|
<th:block th:utext="#{title.doctor.dtl('m-t-40')}"></th:block>
|
|
<div th:each="doctor, row : ${form.doctorProfiles}" th:with="rowIndex = ${row.index + 1}">
|
|
<input type="hidden" th:field="*{doctorProfiles[__${row.index}__].doctorProfId}"/>
|
|
<h5 class="card-title mt-3" th:text="'Doctor No. ' + ${rowIndex} + ' information'"></h5>
|
|
<div class="row">
|
|
<div class="col-lg-6 col-md-12">
|
|
<div class="form-group">
|
|
<label class="required bmd-label-floating" th:text="#{Name}"></label>
|
|
<input type="text" class="form-control doctornameCls" th:field="*{doctorProfiles[__${row.index}__].doctorNm}" required="required"/>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-6 col-md-12">
|
|
<div class="form-group">
|
|
<label class="required bmd-label-floating" th:text="#{Professional Id}"></label>
|
|
<input type="text" class="form-control doctorprofCls" th:field="*{doctorProfiles[__${row.index}__].doctorId}" required="required" />
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-6 col-md-12">
|
|
<div class="form-group">
|
|
<label class="required bmd-label-floating" th:text="#{Qualification}"></label>
|
|
<input type="text" class="form-control doctorqualiCls" th:field="*{doctorProfiles[__${row.index}__].doctorQualif}" required="required" />
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-6 col-md-12" th:each="doc, row2 : ${form.doctorProfiles[__${row.index}__].docList}">
|
|
<div class="form-group">
|
|
<extra:file extra:document="${doc.fileType}"
|
|
th:field="*{doctorProfiles[__${row.index}__].docList[__${row2.index}__]}"></extra:file>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h4 class="card-title mt-2">
|
|
<th:block th:utext="#{'Add Doctors'}"></th:block>
|
|
<a class="btn btn-secondary btn-link btn-add-tab" data-added="0">
|
|
<i class="fa fa-plus pr-2"></i>Add</a>
|
|
</h4>
|
|
<div class="row">
|
|
<div class="col-md-3">
|
|
<ul class="nav nav-pills nav-pills-rose flex-column"
|
|
role="tablist" id="tab-list">
|
|
</ul>
|
|
</div>
|
|
<div class="col-md-8">
|
|
<div class="tab-content" id="tab-content">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div style="display:none;">
|
|
<div id="addtothisdiv">
|
|
<div class="clonediv" >
|
|
<div class="row">
|
|
<div class="col-lg-6 col-md-12">
|
|
<div class="form-group">
|
|
<label class="required bmd-label-floating" th:text="#{Name}"></label>
|
|
<input type="text" class="form-control doctornameCls"/>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-6 col-md-12">
|
|
<div class="form-group">
|
|
<label class="required bmd-label-floating" th:text="#{Professional Id}"></label>
|
|
<input type="text" class="form-control doctorprofCls"/>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-6 col-md-12">
|
|
<div class="form-group">
|
|
<label class="required bmd-label-floating" th:text="#{Qualification}"></label>
|
|
<input type="text" class="form-control doctorqualiCls"/>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-6 col-md-12" th:each="doc, row : *{doctorsFile}">
|
|
<div class="form-group">
|
|
<extra:file extra:document="${doc.fileType}"
|
|
th:field="*{doctorProfilesObj.docList[__${row.index}__]}"></extra:file>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|