Added quick link to create new project from channel page

This commit is contained in:
2023-03-06 23:44:51 -05:00
parent 4735047682
commit 9b6e38a313
3 changed files with 11 additions and 2 deletions

View File

@ -24,7 +24,7 @@
<label for="video_channel">Associated channel:</label>
<select class="u-full-width" id="video_channel" name="video_channel" required>
<% channels.each do |c| %>
<option value="<%= c.id %>"><%= c.name %></option>
<option value="<%= c.id %>" <%= 'selected' if c.id == selected_channel %>><%= c.name %></option>
<% end %>
</select>
</div>