1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- require_once('../view/template/header.php');
- ?>
- <form method="POST" action="index.php?action=<?= $action ?>-pharmacy">
- <input type="hidden" id="id" name="id" value="<?= isset($pharmacy->id) ? $pharmacy->id : '' ?>">
- <div class="form-group">
- <label for="firstName">Наименование</label>
- <input type="text" class="form-control" id="pharmacy-name" name="pharmacyName" placeholder="Наименование"
- value="<?= isset($pharmacy->name) ? $pharmacy->name : '' ?>">
- </div>
- <div class="form-group">
- <label for="lastName">Город</label>
- <input type="text" class="form-control" id="pharmacy-city" name="pharmacyCity" placeholder="Город"
- value="<?= isset($pharmacy->city) ? $pharmacy->city : '' ?>">
- </div>
- <div class="form-group">
- <label for="class">Улица</label>
- <input type="text" class="form-control" id="pharmacy-street" name="pharmacyStreet" placeholder="Улица"
- value="<?= isset($pharmacy->street) ? $pharmacy->street : '' ?>">
- </div>
- <div class="form-group">
- <label for="lastName">Дом</label>
- <input type="text" class="form-control" id="pharmacy-house" name="pharmacyHouse" placeholder="Дом"
- value="<?= isset($pharmacy->house) ? $pharmacy->house : '' ?>">
- </div>
- <div class="form-group">
- <label for="class">Телефон</label>
- <input type="text" class="form-control" id="pharmacy-phone" name="pharmacyPhone" placeholder="Телефон"
- value="<?= isset($pharmacy->phone) ? $pharmacy->phone : '' ?>">
- </div>
- <button type="submit" class="btn btn-default">Отправить</button>
- </form>
- <?php
- require_once('../view/template/footer.php');
- ?>
|