|
@@ -1,13 +1,13 @@
|
|
<main class="col-md-9 ms-sm-auto col-lg-10 px-md-4">
|
|
<main class="col-md-9 ms-sm-auto col-lg-10 px-md-4">
|
|
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 border-bottom">
|
|
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 border-bottom">
|
|
- <h2 class="h2">{{ .title }}</h2>
|
|
|
|
|
|
+ <h3 class="h3">{{ .title }}</h3>
|
|
</div>
|
|
</div>
|
|
<form method="post">
|
|
<form method="post">
|
|
<div class="row mb-3 mt-3">
|
|
<div class="row mb-3 mt-3">
|
|
- <label class="col-sm-2 col-form-label">Тег</label>
|
|
|
|
|
|
+ <label class="col-sm-2 col-form-label col-form-label-sm">Тег</label>
|
|
<div class="col-sm-10">
|
|
<div class="col-sm-10">
|
|
{{ $tagErr := index .errors "TagForm.Tag" }}
|
|
{{ $tagErr := index .errors "TagForm.Tag" }}
|
|
- <input type="text" class="form-control {{ if $tagErr }}is-invalid{{ end }}" name="tag" value="{{ .form.Tag }}">
|
|
|
|
|
|
+ <input type="text" class="form-control form-control-sm {{ if $tagErr }}is-invalid{{ end }}" name="tag" value="{{ .form.Tag }}">
|
|
{{ if $tagErr }}
|
|
{{ if $tagErr }}
|
|
<div class="invalid-feedback">
|
|
<div class="invalid-feedback">
|
|
{{ $tagErr }}
|
|
{{ $tagErr }}
|
|
@@ -16,10 +16,10 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row mb-3 border-bottom pb-3">
|
|
<div class="row mb-3 border-bottom pb-3">
|
|
- <label class="col-sm-2 col-form-label">URL</label>
|
|
|
|
|
|
+ <label class="col-sm-2 col-form-label col-form-label-sm">URL</label>
|
|
<div class="col-sm-10">
|
|
<div class="col-sm-10">
|
|
{{ $urlErr := index .errors "TagForm.URL" }}
|
|
{{ $urlErr := index .errors "TagForm.URL" }}
|
|
- <input type="text" class="form-control {{ if $urlErr }}is-invalid{{ end }}" name="url" value="{{ .form.URL }}">
|
|
|
|
|
|
+ <input type="text" class="form-control form-control-sm {{ if $urlErr }}is-invalid{{ end }}" name="url" value="{{ .form.URL }}">
|
|
{{ if $urlErr }}
|
|
{{ if $urlErr }}
|
|
<div class="invalid-feedback">
|
|
<div class="invalid-feedback">
|
|
{{ $urlErr }}
|
|
{{ $urlErr }}
|
|
@@ -27,7 +27,7 @@
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <a href="/admin/tag" class="btn btn-secondary">Назад</a>
|
|
|
|
- <button type="submit" class="btn btn-primary">Сохранить</button>
|
|
|
|
|
|
+ <a href="/admin/tag" class="btn btn-sm btn-secondary">Назад</a>
|
|
|
|
+ <button type="submit" class="btn btn-sm btn-primary">Сохранить</button>
|
|
</form>
|
|
</form>
|
|
</main>
|
|
</main>
|