Sha256: 3cbf84dad77d61c0fbaeedd9f511cd63ed3908bf442861dfff796f74d3e4227c

Contents?: true

Size: 987 Bytes

Versions: 1

Compression:

Stored size: 987 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, :onclick => "$('#staff_submit').show()" -%>
			<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_tag "Submit Payment", :id => 'staff_submit', :class => 'submit_payment', 'data-url' => fe_application_payments_path(@application), :style => 'display:none' %>
	</p>
<% end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

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