Sha256: be60de1b1aab0c70c2258fd69d28e851898a92f6806df7cef04355001cbd9b5f

Contents?: true

Size: 496 Bytes

Versions: 10

Compression:

Stored size: 496 Bytes

Contents

<div class="toolbar">
	<h1 id="pageTitle">
		<%= class_name.camelize.pluralize %>
	</h1>
</div>

<ul id="<%= name.downcase.pluralize %>" title="<%= class_name.pluralize %>" selected="true">
  	<a class="button right_button" href="<%= class_name%>/new" target="_self">New</a>
	<%%@<%=name.downcase.pluralize%>.each do |x|%>
	<%if self.attributes?%>
	<li><%%=link_to "#{x.<%=attributes[0]%>}", :action => :show, :id => x.object%></li>
	<%else%>
	<li>Some list entry...</li>
	<%end%>
	<%%end%>
</ul>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rhodes-1.5.5 res/generators/templates/model/index.erb
rhodes-1.5.4 res/generators/templates/model/index.erb
rhodes-1.5.3 res/generators/templates/model/index.erb
rhodes-1.5.2 res/generators/templates/model/index.erb
rhodes-1.5.1 res/generators/templates/model/index.erb
rhodes-1.5.0 res/generators/templates/model/index.erb
rhodes-1.4.2 res/generators/templates/model/index.erb
rhodes-1.4.1 res/generators/templates/model/index.erb
rhodes-1.4.0 res/generators/templates/model/index.erb
rhodes-1.2.2 res/generators/templates/model/index.erb