Sha256: ca798cd492c53ee5425e8d3d2e44448205e56775a86849ac8aea7ed53ffb3a4e

Contents?: true

Size: 880 Bytes

Versions: 1

Compression:

Stored size: 880 Bytes

Contents

<% if @results.nil? -%>
	<strong>Please provide the first and last name of the person you want to search for. Partial names will work too (e.g. John S).</strong>
<% elsif @results.size == 0 -%>
	<strong>Sorry, we could not find anyone with the name you specified. Please try again.</strong>
<% else -%> 
	<p>Send a payment request to:</p>
	
	<ul style="margin-left: 35px;">
	<% @results.each do |staff| -%>
		<li style="margin: 0;"><%= radio_button :payment, :payment_account_no, staff.accountNo -%>
			<label for="payment_payment_account_no_<%=staff.accountNo%>" style="display: inline; float: none; font-weight: normal;"><%= staff.firstName %> <%= staff.lastName %> &lt;<i><%= staff.email %></i>&gt;</label></li>
	<% end -%>
	</ul>
	
	<p class="buttons">
		<%= submit_to_remote "submit", "Send Payment Request", :url => application_payments_path(@application) %></p>
<% end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fe-0.0.4 app/views/fe/payment_pages/_staff_results.html.erb