@headishere


		$value = get_field( "gov_delivery_code" );
		if ($value) {
		?>	

			<div class="radius bordered shadow card" style="background-color: rgba(0,63,71, 1.0);padding: 2rem;">
			
				<h3 style="color: white; text-align: center;">Sign up for<br>
					<?php echo the_title() ?> <br>Updates
				</h3>
				<div class="large-6 medium-7 large-centered small-centered columns signup">
					<form method="post" id="GD-snippet-form" name="login-form" action="https://public.govdelivery.com/accounts/CALACOUNTY/subscriber/qualify" accept-charset="UTF-8" target="_blank">
						<input name="utf8" type="hidden" value="✓">
						<input type="hidden" name="authenticity_token" value="<?php the_field("gov_delivery_api_key") ?>">
						<input type="hidden" name="topic_id" id="topic_id" value="CALACOUNTY_<?php the_field("gov_delivery_code") ?>">
						<div class="row" style="margin-top: 3em;">
							<div class="columns large-6">
								<div class="form-input">
									<input class="medium" id="email" name="email" type="email" placeholder="Email Address" aria-required="true" aria-invalid="false" onfocus="if(this.value == 'Email Address') { this.value = ''; }" onblur="if(this.value == '') { this.value = 'Email Address'; }" value="Email Address" autocomplete="on">
								</div>
							</div>
							<div class="columns large-6">
								<input type="submit" name="submit" class="button" alt="Submit" value="Submit" style="background: #006291; height: 2.5rem; margin: 0;">
							</div>
						</div>
								
					</form>
				</div>
			</div>
		<?php } //endIf ?>