Skip to content
Permalink
Browse files

Channel Comments (#293)

  • Loading branch information...
dirkkelly committed Jun 9, 2019
1 parent af9b5af commit cc76d267e8c821c12c01786cb21ce9323b7c1c7e
Showing with 15 additions and 6 deletions.
  1. +11 −6 layouts/partials/channels/edit.html
  2. +4 −0 layouts/partials/channels/new.html
@@ -6,10 +6,6 @@
<label class="field-label" for="channelName">Channel Name</label>
<input class="field-input" id="channelName" type="text" name="CHANNEL_NAME" value="{{ .channel.name }}" required />
</div>
<div class="field">
<label class="field-label" for="channelTags">Channel Tags</label>
<textarea class="field-input is-textarea" class="form-control" id="channelTags" rows="2" cols="50" name="CHANNEL_TAGS">{{ range .tags }}{{ . }}, {{ end }}</textarea>
</div>
<div class="field">
<label class="field-label" for="channelUrl">Channel URL</label>
<input class="field-input" id="channelUrl" type="text" name="CHANNEL_URL" value="{{ .channel.providers.youtube.url }}" required />
@@ -18,10 +14,19 @@
<label class="field-label" for="channelDescription">Channel Description</label>
<textarea class="field-input is-textarea" class="form-control" id="channelDescription" rows="2" cols="50" name="CHANNEL_DESCRIPTION">{{ .channel.description }}</textarea>
</div>
<div class="field">
<label class="field-label" for="channelTags">Channel Tags</label>
<textarea class="field-input is-textarea" class="form-control" id="channelTags" rows="4" cols="50" name="CHANNEL_TAGS">{{ if .tags }}{{ delimit .tags ", " }}{{ end }}</textarea>
</div>
<div class="field">
<label class="field-label" for="videoUrl">Video URLs</label>
<textarea class="field-input is-textarea" class="form-control" id="videoUrl" rows="6" cols="50" name="VIDEO_URLS">{{ range .videos }}
https://youtu.be/{{ . }}{{ end }}</textarea>
<textarea class="field-input is-textarea" class="form-control" id="videoUrl" rows="{{ if .videos }}{{ (add (len .videos) 5) }}{{ else }}6{{ end }}" cols="50" name="VIDEO_URLS">{{ range .videos }}
https://youtu.be/{{ . }}{{ end }}
</textarea>
</div>
<div class="field">
<label class="field-label" for="videoUrl">Comments</label>
<textarea class="field-input is-textarea" class="form-control" id="comments" rows="4" cols="50" name="COMMENTS"></textarea>
</div>
<div class="field">
<div data-netlify-recaptcha="true"></div>
@@ -21,6 +21,10 @@
<div class="field">
<div data-netlify-recaptcha="true"></div>
</div>
<div class="field">
<label class="field-label" for="videoUrl">Comments</label>
<textarea class="field-input is-textarea" class="form-control" id="comments" rows="4" cols="50" name="COMMENTS"></textarea>
</div>
<button type="submit" class="button is-primary">Send Channel</button>
<p>
<br>

0 comments on commit cc76d26

Please sign in to comment.
You can’t perform that action at this time.