Sha256: f9e6e831d36df61253a47dd182d057804235c433b6f3fd94f1c42f43f0ec4d1c

Contents?: true

Size: 961 Bytes

Versions: 4

Compression:

Stored size: 961 Bytes

Contents

<%# locals => report_item %>

<div class="report-item">
	<span class="report-info">
		<span class="report">
			<% if report_item.reportable.nil? || !report_item.reportable.respond_to?(:name) %>
				&lt;Undefined&gt;
			<% else %>
				<%= report_item.reportable.name %>
			<% end %>
		</span>
		<span class="pivot">
			<% if report_item.pivot.nil? || !report_item.pivot.respond_to?(:name) %>
				[None]
			<% else %>
				<%= report_item.pivot.name %>
			<% end %>
		</span>
	</span>
	<span class="report-item-actions">
		<span class="edit">
			<a href="javascript:void(0)" class="remote-link smallbutton" data-path="<%= edit_mg_report_item_url(:id => report_item.id) %>" data-res=".report-items-model .model">Edit</a>
		</span>
		
		<span class="remove">
			<a href="javascript:void(0)" class="remote-link smallbutton" data-path="<%= destroy_mg_report_item_url(:id => report_item.id) %>" data-res=".report-items-model .model">Remove</a>
		</span>
	</span>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mountain-goat-1.0.3 lib/mountain-goat/views/mountain_goat/mg/report_items/.tmp__show.html.erb.52502~
mountain-goat-1.0.2 lib/mountain-goat/views/mountain_goat/mg/report_items/_show.html.erb
mountain-goat-1.0.1 lib/mountain-goat/views/mountain_goat/mg/report_items/_show.html.erb
mountain-goat-1.0.0 lib/mountain-goat/views/mountain_goat/mg/report_items/_show.html.erb