houdini/app/views/campaigns/_video_modal.html.erb
2020-06-15 10:26:57 -05:00

24 lines
949 B
Text

<%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
<div class='modal skinny' id='videoModal'>
<div class='modal-header'>
<h3>Campaign Video</h3>
<%= render 'common/modal_close' %>
</div>
<div class='modal-body'>
<p class='tip'>Videos are optional but recommended.</p>
<p>A good video almost always guarantees greater campaign success. Upload your video to Youtube or Vimeo and link it below.</p>
<form autosubmit action='/nonprofits/<%=@nonprofit.id%>/campaigns/<%=@campaign.id%>' method='put' data-reload>
<fieldset class='u-marginTop--20'>
<label>Video URL: </label>
<input type='text' placeholder='YouTube or Vimeo' value='<%= @campaign.video_url %>' class='wide' name='campaign[video_url]'>
</fieldset>
<p class='error'></p>
<%= render 'common/modal_submit', :text => 'Submit' %>
</form>
</div>
</div>