Sha256: 6dbef6272e201dbdfa144638e2232da2bd02fec8c10a431ca682fb8456f5a14d

Contents?: true

Size: 758 Bytes

Versions: 4

Compression:

Stored size: 758 Bytes

Contents

<%=content_for :data_controls do%>
<%=link_to "Forms",spud_admin_inquiry_forms_path(),:class => "btn btn-primary",:title => "Forms"%>
<%end%>

<%=content_for :detail do%>
	<div class="page_list">
			<%@inquiries.each do |inquiry|%>
				<div class="page_row">
					
				<span class="row_meta"><%=link_to "#{inquiry.spud_inquiry_form.blank? ? "No Form" : inquiry.spud_inquiry_form.name}: #{inquiry.email}",spud_admin_inquiry_path(inquiry)%></span>

				<span class="edit_controls">
				
				<%=link_to "Remove",spud_admin_inquiry_path(inquiry),:method => :delete,:class => 'btn btn-danger',:confirm => "Are you sure you want to remove this inquiry?"%></span>
				<br style="clear:both;"/>
			</div>
			<%end%>
			<%=will_paginate @inquiries%>

	</div>

<%end%>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spud_inquiries-0.8.3 app/views/spud/admin/inquiries/index.html.erb
spud_inquiries-0.8.2 app/views/spud/admin/inquiries/index.html.erb
spud_inquiries-0.8.1 app/views/spud/admin/inquiries/index.html.erb
spud_inquiries-0.8.0 app/views/spud/admin/inquiries/index.html.erb