Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <#import "../parts/htmlPad.ftlh" as pad>
- <@pad.page "Shop adding">
- <#if errorMessage?has_content>
- <div class="alert alert-danger alert-dismissible fade show">
- <strong>Помилка!</strong> ${errorMessage!}
- <button type="button" class="close" data-dismiss="alert">×</button>
- </div>
- </#if>
- <p class="h1">Додати новий магазин:</p>
- <div class="form-group">
- <form method="post" action="/shop/add" class="form-inline needs-validation w-50" novalidate>
- <label class="sr-only" for="shopAddress">Адреса</label>
- <input type="text" class="form-control" name="address" value="${RequestParameters.address!}"
- placeholder="Адреса нового магазину" required/>
- <button type="submit" class="btn btn-primary ml-md-2 mt-md-0 mt-2">Додати</button>
- <div class="invalid-feedback">Адреса нового магазину не може бути пустою!</div>
- </form>
- </div>
- </@pad.page>
Advertisement
Add Comment
Please, Sign In to add comment