Improve channel forms
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2019-05-09 21:07:42 +02:00
parent 9ef51a1625
commit ae6e3f0100
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -56,15 +56,15 @@
<form action="/settings/channel" method="post">
<input type="hidden" name="uid" value="{{ .CurrentChannel.UID }}" />
<div class="field">
<label class="label">Blocking Regex</label>
<label class="label" for="exclude_regex">Blocking Regex</label>
<div class="control">
<input type="text" class="input" name="exclude_regex" value="{{ .CurrentSetting.ExcludeRegex }}" placeholder="enter regex to block" />
<input type="text" class="input" id="exclude_regex" name="exclude_regex" value="{{ .CurrentSetting.ExcludeRegex }}" placeholder="enter regex to block" />
</div>
</div>
<div class="field">
<label class="label">Tracking Regex</label>
<label class="label" for="include_regex">Tracking Regex</label>
<div class="control">
<input type="text" class="input" name="include_regex" value="{{ .CurrentSetting.IncludeRegex }}" placeholder="enter regex to track items" />
<input type="text" class="input" id="include_regex" name="include_regex" value="{{ .CurrentSetting.IncludeRegex }}" placeholder="enter regex to track items" />
</div>
</div>
<div class="field">
@ -80,7 +80,9 @@
</div>
</div>
<div class="field">
<button type="submit" class="button is-primary">Save</button>
<div class="control">
<button type="submit" class="button is-primary">Save</button>
</div>
</div>
</form>
</div>