Commit d840497cadb4e21d8de5d9c8a4bd35209532a5ed

Authored by Yarik
1 parent 6d90918c

Merge

Showing 1 changed file with 14 additions and 59 deletions   Show diff stats
frontend/views/cabinet/index.php
... ... @@ -188,65 +188,20 @@ EOT;
188 188  
189 189 <div class="content-forms">
190 190 <div class="style cab_content_list active-cab">
191   - <div class="forms-cabinet forms-1">
192   - <div class="title_forms">особисті данні</div>
193   - <form action="">
194   - <div class="input-wrapp-320">
195   - <label for="input-1">Прізвище</label>
196   - <input id="input-1" type="text">
197   - </div>
198   - <div class="input-wrapp-320">
199   - <label for="input-2">Ім'я</label>
200   - <input id="input-2" type="text">
201   - </div>
202   - <div class="input-wrapp-320">
203   - <label for="input-3">По батькові</label>
204   - <input id="input-3" type="text">
205   - </div>
206   - <div class="input-wrapp-320 phone-input">
207   - <label for="input-5">Телефон</label>
208   - <input id="input-5" type="text" placeholder="+38 (0XX) XXX-XX-XX" data-plugin-inputmask="inputmask_ce696fc8">
209   - </div>
210   - <div class="input-wrapp-320">
211   - <label for="input-6">Email</label>
212   - <input id="input-6" type="text">
213   - </div>
214   - <div class="input-wrapp-320">
215   - <label for="input-7">ІНН</label>
216   - <input id="input-7" type="text">
217   - </div>
218   - <div class="input-wrapp btn-submit-blue">
219   - <button type="submit">зберегти</button>
220   - </div>
221   - </form>
222   - </div>
223   -
224   - <div class="forms-cabinet forms-2">
225   - <div class="title_forms">паспортні данні</div>
226   - <form action="">
227   - <div class="input-wrapp-80">
228   - <label for="input-8">Серія</label>
229   - <input id="input-8" type="text">
230   - </div>
231   - <div class="input-wrapp-220">
232   - <label for="input-9">№</label>
233   - <input id="input-9" type="text">
234   - </div>
235   - <div class="input-wrapp-130">
236   - <label for="input-10">Дата народження</label>
237   - <input class="_datepicer" id="input-10" type="text">
238   - </div>
239   - <div class="input-wrapp-445">
240   - <label for="area-1">Виданий</label>
241   - <textarea name="" id="area-1"></textarea>
242   - </div>
243   - <div class="input-wrapp btn-submit-blue">
244   - <button type="submit">зберегти</button>
245   - </div>
246   - </form>
247   -
248   - </div>
249   -
  191 + <?php
  192 + echo $this->render(
  193 + '_personal_form',
  194 + [
  195 + 'userData' => $userData,
  196 + ]
  197 + );
  198 + echo $this->render(
  199 + '_passport_form',
  200 + [
  201 + 'userPassport' => $userPassport,
  202 + ]
  203 + );
  204 + ?>
250 205  
251 206 <div class="style table-forms tables-1">
252 207 <div class="title_forms">Список творів</div>
... ...