Menu
Alternate English HTML

Please note that the following code is built to be used with the Prayer Request Collection.
Bellow is an alternate version of the submitted prayer request HTML code. It looks like this when it is rendered:

Name:
John Doe
Date:
March 9, 2020
Category:
Guidance
Title:
Youth Leadership
Request:  Please pray for our youth leaders! Pray that they will tune their hearts to listen to God continually.

Here is the code to Copy and Paste:

<style>
span.minitxt {
    font-size: 10px;
    font-weight: 900;
}
table, th, td {
    border: 1px solid grey;
    border-collapse: collapse;
}
span.minitxt {
    font-size: 10px;
    font-weight: 900;
}
tr:nth-child(even) {
    background: #C1C1C1
}
tr:nth-child(odd) {
    background: #F1F1F1
}
</style>
{% for requests in su.collection( "requests" ).sort( "requests.date" ) %}
	{% if requests.makePublic("Yes") %}
		<table style="width:100%">
			<tr>
				<td><span class="minitxt">Name:</span><br>{{ requests.name.first }} {{ requests.name.last }}</td>
				<td><span class="minitxt">Date:</span><br>{{ requests.date }}</td>
				<td><span class="minitxt">Category:</span><br>{{ requests.category }}</td>
				<td><span class="minitxt">Title:</span><br>{{ requests.title }}</td>
			</tr>
			<tr>
				<td colspan="4"><span class="minitxt">Request:&nbsp;&nbsp;</span>{{ requests.request }}</td>
			</tr>
		</table>
	<hr>
	{% endif %}
{% endfor %}
<p>&nbsp;</p>

 

1.877.518.0819