{exp:onramp:road_test segment="{offerings_sc_courses}" zip="49424" month_limit="6" base_url="{global:onramp_url}"}
{if course_count == "1"}
	<div class="offering-class-module js-scroll-offset">
		<ul class="class-module-nav">
			{months}
			<li data-month="{month_name}"><a href="#">{month_name}</a></li>
			{/months}
		</ul>

		<div class="class-module">
			<ul class="class-module-list">
{/if}
				<li data-month="{month_name}">
					<h3 class="module-class-title">Road Test</h3>
					<div class="module-class-desc">{begin_at format="%M %d %g:%i %a"} - {end_at format="%g:%i %a"} with <strong>{mentor}</strong></div>
					<a href="{register_link}" class="module-class-btn js-roadtest-register">Register</a>
{!--					<a href="#" class="module-class-moreinfo js-moreinfo course-time" id="course_{id}_show_link">More info</a>--}

					{if comment}
					<p class="module-class-alert">{comment}</p>
					{/if}

					<div id="course_{id}_times" class="moreinfo reg-info expanded">
						<!-- START course dates -->
						<div class="moreinfo-reg-times">
							<label class="sans-bold">Available Test Times:</label>

							<span class="moreinfo-reg-note">{type}</span>
							{types}

							<br/><br/>
							<input type="hidden" name="course_id" value="{course_id}">
							<input type="hidden" name="block_id" value="{block_id}">
							<input type="hidden" name="type_id" value="{road_test_type}">
							<input type="hidden" name="block_date" value="{block_date}">
							<input type="hidden" name="zip" value="{zip}">
						</div>

						{if amount != "$0"}
						<p class="moreinfo-amount">{amount}</p>
						{/if}

						<div class="moreinfo-location vcard{if location:alternate} alt-location{/if}">
							<h3 class="org">{location:name}{if location:alternate}<span class="alt-location-asterisk">*</span>{/if}</h3>
							<span class="adr">
								<span class="street-address">{location:street}</span><br>
								<span class="locality">{location:city}</span>, 
								<span class="region">{location:state}</span>
								<span class="postal-code">{location:zip}</span>
							</span>
							{if location:phone}<span class="tel">Phone: {location:phone}</span>{/if}
							{if location:fax}<span class="fax">Fax: {location:fax}</span>{/if}

							{if location:alternate}
							<span class="alt-location-msg">*This road test is administered by one of our sister companies.</span>
							{/if}
						</div>
					</div>
				</li>
{if course_count == total_courses}
			</ul>
		</div>
	</div>
{/if}
{/exp:onramp:road_test}