22adb4d5fd
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.
30 lines
856 B
Text
30 lines
856 B
Text
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
|
|
<!-- partial cards/new_modal -->
|
|
<!-- use cards/new.js -->
|
|
<!-- use cards.css.scss -->
|
|
|
|
<div class='modal' id='newCardModal'>
|
|
|
|
<div class='modal-header'>
|
|
<h3>New Card</h3>
|
|
<%= render 'common/modal_close' %>
|
|
</div>
|
|
|
|
<div class='modal-body'>
|
|
<p class='u-centered' >Add a new card for <strong><!--= put selected_supporter.name --></strong></p>
|
|
|
|
<form class='cardForm'>
|
|
<!--= on 'submit' (create_card form_object) -->
|
|
|
|
<%= render 'cards/fields' %>
|
|
|
|
<input type='hidden' name='supporter_id'> <!--= set_attr 'value' selected_supporter.id -->
|
|
|
|
<input type='hidden' name='event_id'><!--= set_attr 'value' selected_event.id -->
|
|
<%= render 'components/forms/submit_button' %>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- end partial cards/new_modal -->
|
|
|