Adding existing content to theme
This commit is contained in:
1 parent
4ec5e05ae2
commit
0665ab292b
26 files changed
+1247
-3
No files matched your search
@@ -0,0 +1,48 @@
|
||||
title = "I Found Your Thing!"
|
||||
url = "/found/:thing"
|
||||
layout = "default"
|
||||
is_hidden = 0
|
||||
|
||||
[emptyForm foundform]
|
||||
group = "Found Item"
|
||||
rules[name] = "required"
|
||||
rules[message] = "required"
|
||||
rules[contactinfocheck] = "required"
|
||||
rules_messages[contactinfocheck.required] = "I need a way to get back to you! Please make sure you've included your contact information in your message, and check the box to confirm this."
|
||||
messages_success = "Your form was successfully submitted"
|
||||
messages_errors = "There were errors with your submission"
|
||||
mail_enabled = 1
|
||||
mail_subject = "Your {{ thing }} has been found!"
|
||||
mail_recipients[] = "[email protected]"
|
||||
inline_errors = "disabled"
|
||||
sanitize_data = "disabled"
|
||||
anonymize_ip = "disabled"
|
||||
recaptcha_theme = "light"
|
||||
recaptcha_type = "image"
|
||||
recaptcha_size = "normal"
|
||||
emails_date_format = "Y-m-d"
|
||||
==
|
||||
<?php
|
||||
function onStart()
|
||||
{
|
||||
$this['thing'] = $this->param('thing');
|
||||
}
|
||||
?>
|
||||
==
|
||||
<div class="row">
|
||||
<div class="col-lg-7">
|
||||
<h1>Hey! You found my {{ thing }}!</h1>
|
||||
<p>Thank you very much for locating my missing belongings, I very much appreciate it. To get it back to me, please fill out the form below. Don't forget to tell me how I can get back in touch with you by leaving me your email or phone number.</p>
|
||||
<p>Alternatively, you can reach me on one of the social platforms linked to the right.</p>
|
||||
{% component 'foundform' %}
|
||||
</div>
|
||||
<div class="col-lg-5">
|
||||
<h2>Find Me On The Socials</h2>
|
||||
{% partial 'social' noinfrequent = true nocode = true %}
|
||||
|
||||
<h2>Just Call or Text</h2>
|
||||
<p>Just want a simple phone number you can reach me at? Fine.<br>
|
||||
<i class="fas fa-phone"></i> <a href="tel:+15878853458">(587) 885-3458</a></p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
Reference in new issue
Block a user