<ul id="SugarOpportunities" title="Opportunities">
<%@SugarOpportunities.each do |x|%>

<a class="button right_button" href="/RhoSugarCRM/SugarOpportunity/new">New</a>

<li class="overview">
	<a href="<%= "/RhoSugarCRM/SugarOpportunity/#{x.object}/show" %>">
		<%= x.name %>
		<div>
		<%= x.sales_stage %>&nbsp;<%= x.probability %>%
		</div>
	</a>
</li>

<%end%>

</ul>
<ul id="SugarOpportunities" title="Opportunities">
<a class="button right_button" href="/RhoSugarCRM/SugarOpportunity/new">New</a>

<%@SugarOpportunities.each do |x|%>

<li class="overview">
	<a href="<%= "/RhoSugarCRM/SugarOpportunity/#{x.object}/show" %>">
		<%= x.name %>
		<div>
		<%= x.sales_stage %>&nbsp;<%= x.probability %>%
		</div>
	</a>
</li>

<%end%>

</ul>
Move new link out of for
Move new link out of for
