Merge pull request #1038 from consul/embed-video
Moves and makes bigger embed video on proposals
This commit is contained in:
@@ -50,6 +50,14 @@
|
|||||||
|
|
||||||
<blockquote><%= @proposal.summary %></blockquote>
|
<blockquote><%= @proposal.summary %></blockquote>
|
||||||
|
|
||||||
|
<% if @proposal.video_url.present? %>
|
||||||
|
<div class="small-12 medium-7">
|
||||||
|
<div class="flex-video">
|
||||||
|
<div id="js-embedded-video" data-video-code="<%= embedded_video_code %>"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<%= safe_html_with_links @proposal.description %>
|
<%= safe_html_with_links @proposal.description %>
|
||||||
|
|
||||||
<% if @proposal.external_url.present? %>
|
<% if @proposal.external_url.present? %>
|
||||||
@@ -62,7 +70,6 @@
|
|||||||
<div class="video-link">
|
<div class="video-link">
|
||||||
<%= text_with_links @proposal.video_url %>
|
<%= text_with_links @proposal.video_url %>
|
||||||
</div>
|
</div>
|
||||||
<div id="js-embedded-video" data-video-code="<%= embedded_video_code %>"></div>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<h4><%= @proposal.question %></h4>
|
<h4><%= @proposal.question %></h4>
|
||||||
|
|||||||
Reference in New Issue
Block a user