houdini/app/views/campaigns/_video_modal.html.erb
Bradley M. Kuhn 22adb4d5fd Relicense all .erb files under new project license.
The primary license of the project is changing to:
  AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later

with some specific files to be licensed under the one of two licenses:
   CC0-1.0
   LGPL-3.0-or-later

This commit is one of the many steps to relicense the entire codebase.

Documentation granting permission for this relicensing (from all past
contributors who hold copyrights) is on file with Software Freedom
Conservancy, Inc.
2018-03-25 15:10:40 -04:00

23 lines
892 B
Text

<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<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>