2018-03-25 17:20:54 +00:00
|
|
|
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
|
2018-03-25 17:30:42 +00:00
|
|
|
<!-- partial start: supporters/fieldset -->
|
|
|
|
<% type ||= 'text' %>
|
|
|
|
<% cssClass ||= '' %>
|
|
|
|
<% required ||= false %>
|
|
|
|
<% placeholder += (required ? ' (required)' : '') %>
|
|
|
|
|
|
|
|
<fieldset class='<%= cssClass %>'>
|
|
|
|
<input class='u-marginBottom--0'
|
|
|
|
type='<%= type %>'
|
|
|
|
title="<%= placeholder %>"
|
|
|
|
name="<%= name %>"
|
|
|
|
<%= required && "required" %>
|
|
|
|
placeholder="<%= placeholder%>"
|
|
|
|
value="<%= profile && profile[name]%>">
|
|
|
|
</fieldset>
|
|
|
|
<!-- partial end: supporters/fieldset -->
|