houdini/app/views/billing_subscriptions/_new_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

35 lines
1.3 KiB
Text

<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='modal skinny' id='newBillingSubscriptionModal'>
<%= render 'common/modal_header', title: "Movin' on up!" %>
<div class='modal-body'>
<% if current_role?(:super_admin) && @nonprofit %>
<p><strong>Super admin mode</strong></p>
<p><%= "Selected nonprofit: #{@nonprofit.name} (id #{@nonprofit.id})" %></p>
<% end %>
<form class='cardForm' parsley-validate>
<!--= on 'submit' create_billing_sub -->
<label class='u-marginBottom--15'>Please select monthly or annual billing</label>
<!--= hide_if (eq plan.annual_dollars 0) -->
<fieldset>
<input name='interval' type='radio' value='monthly' id='planMonthlyInput' checked='checked'>
<label for='planMonthlyInput'>$<!--= put plan.dollars --> monthly</label>
</fieldset>
<fieldset>
<!--= hide_if (eq plan.annual_dollars 0) -->
<input name='interval' type='radio' value='annual' id='planAnnualInput'>
<label for='planAnnualInput'>$<!--= put plan.annual_dollars --> annual (10% off)</label>
</fieldset>
<%= render 'cards/fields' %>
<input type='hidden' name='email' value="<%= nonprofit_email %>">
<div class='u-centered u-marginTop--15'> <%= render 'cards/form_footer', hide_dedication: true %> </div>
</form>
</div>
</div>