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.
55 lines
1.8 KiB
Text
55 lines
1.8 KiB
Text
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
|
|
<!-- partial: supporters/form_blank -->
|
|
|
|
<% require_email = nil if require_email.nil? %>
|
|
<% require_name = nil if require_name.nil? %>
|
|
|
|
|
|
<fieldset class='u-marginBottom--0'>
|
|
<label <%= require_name && "class=required" %>>Name <small><%= require_name ? '(required)' : '' %></small></label>
|
|
<input type='text' name='name' <%= require_name && "required"%>>
|
|
</fieldset>
|
|
|
|
<section class='layout--two'>
|
|
<fieldset class='u-marginBottom--0'>
|
|
<label>Email <small><%= require_email && '(required)' %></small></label>
|
|
<input parsley-error-message='Please enter a valid email.' type='email' parsley-trigger='change' name='email' <%= require_email && 'required' %>>
|
|
</fieldset>
|
|
|
|
<fieldset class='u-marginBottom--0'>
|
|
<label>Phone</label>
|
|
<input parsley-error-message='Enter a valid phone number.' parsley-trigger='change' parsley-type='phone' type='text' name='phone'>
|
|
</fieldset>
|
|
|
|
<fieldset class='u-marginBottom--0'>
|
|
<label>Address</label>
|
|
<input type='text' name='address'>
|
|
</fieldset>
|
|
|
|
<fieldset class='u-marginBottom--0'>
|
|
<label>City</label>
|
|
<input type='text' name='city', value='<%= @nonprofit.city %>'>
|
|
</fieldset>
|
|
</section>
|
|
|
|
|
|
<section class='layout--three'>
|
|
|
|
<fieldset class='u-marginBottom--0'>
|
|
<label>State/Region</label>
|
|
<input type='text' name='state_code' value='<%= @nonprofit.state_code %>' placeholder='State/Region'>
|
|
</fieldset>
|
|
|
|
<fieldset class='u-marginBottom--0'>
|
|
<label>Postal Code</label>
|
|
<input type='text' name='zip_code' value='<%= @nonprofit.zip_code %>' placholder='Postal Code'>
|
|
</fieldset>
|
|
|
|
<fieldset class='u-marginBottom--0'>
|
|
<label>Country</label>
|
|
<input type='text' name='country' value='United States'>
|
|
</fieldset>
|
|
|
|
</section>
|
|
|
|
<!-- partial: supporters/form_blank -->
|