{!--
Page:          contact/index
Created:       Jan 27 2007
Last Modified: Jun 19 2014
===========================================================
ryan masuga, masugadesign.com
ryan@masugadesign.com
=========================================================== --}
{snip_global_header}
{exp:stash:set name="stash_body_class"}contact{/exp:stash:set}

{exp:channel:entries channel="static_pages" disable="trackbacks|pagination|member_data" url_title="contact" dynamic="no"}
	{exp:stash:set name="stash_body_id"}{url_title}{/exp:stash:set}
	{exp:stash:set name="stash_page_title"}{title}{/exp:stash:set}
	{body}
{/exp:channel:entries}

{if segment_2 == "thanks"}

<h3><strong>Your message has been sent. Thank you!</strong></h3>
<br />
{/if}
{exp:email:contact_form user_recipients="no" recipients="tuckersweitzer@mac.com" charset="utf-8" form_id="form-contact" form_name="form-contact" form_class="validation" return="{site_url}contact/thanks" replyto="yes"}
	<div id="form-container">
		<fieldset class="formfields">
			<dl class="clearfix">
				<dt>
					<label for="name">Your Name *</label>
				</dt>
				<dd>
					<input type="text" id="name" name="name" size="40" maxlength="35" value="" class="validate[required]"/>
				</dd>
				<dt>
					<label for="from">Email *</label>
				</dt>
				<dd>
					<input type="text" id="from" name="from" size="40" maxlength="35" value="" class="validate[required,custom[email]]"/>
				</dd>
				<dt>
					<label for="company">Company </label>
				</dt>
				<dd>
					<input type="hidden" name="message[]" value="Company:">
					<input type="text" id="company" name="message[]" size="40" maxlength="35" value="" />
				</dd>
				<dt>
					<label for="subject">Subject *</label><br />
				</dt>
				<dd>
					<select name="subject" id="subject" size="1" class="validate[required]">
						<option value="">Please Select…</option>
						<option value="Chrysalis Designs Website Inquiry: Wedding Inquiry">Wedding Inquiry</option>
						<option value="Chrysalis Designs Website Inquiry: Special Event">Special Event</option>
						<option value="Chrysalis Designs Website Inquiry: Museum Exhibition Reception">Museum Exhibition Reception</option>
						<option value="Chrysalis Designs Website Inquiry: Retirement Community Services">Retirement Community Services</option>
						<option value="Chrysalis Designs Website Inquiry: Corporate Services">Corporate Services</option>
						<option value="Chrysalis Designs Website Inquiry: Holiday Flowers and Decorating">Holiday Flowers and Decorating</option>
						<option value="Chrysalis Designs Website Inquiry: Meeting and Convention Flowers">Meeting and Convention Flowers</option>
						<option value="Chrysalis Designs Website Inquiry: Hotel Flowers">Hotel Flowers</option>
						<option value="Chrysalis Designs Website Inquiry: Other">Other</option>
					 </select>
				</dd>
				<dt>
					<label for="message">Comments *</label>
				</dt>
				<dd>
					<input type="hidden" name="message[]" value="Comments:">
					<textarea id="message" name="message[]" rows="8" cols="25" class="validate[required]"></textarea>
				</dd>
				<dt></dt>
				<dd>
					<input name="submit" type='submit' class='submit' value='Send Comment' />
				</dd>
			</dl>
		</fieldset>
	</div>
{/exp:email:contact_form}

{exp:stash:set name="close_footer"}no{/exp:stash:set}
{snip_global_footer}
<script>
$(document).ready(function(){
	$(".validation").validationEngine();
});
</script>