Sha256: df5a80d4de600742ee6ec8c3aeeb654ee0ce395d14e148f439be482ccdd6c3da

Contents?: true

Size: 336 Bytes

Versions: 8

Compression:

Stored size: 336 Bytes

Contents

<ul id="<%= name.pluralize %>" title="<%= class_name.pluralize %>">
<%%@<%=name.pluralize%>.each do |x|%>
<%if self.attributes?%>
<li><%%=link_to "#{x.<%=attributes[0]%>}", "edit", x.object%></li>
<%else%>
<li>Some list entry...</li>
<%end%>
<%%end%>
<li><font color="blue"><%%=link_to "New <%= class_name %>", "new"%></font></li>
</ul>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rhodes-0.1.0 generators/templates/model/index.erb
rhodes-0.1.2 generators/templates/model/index.erb
rhodes-0.2.0 generators/templates/model/index.erb
rhodes-0.1.1 generators/templates/model/index.erb
rhodes-0.1.3 generators/templates/model/index.erb
rhodes-0.2.1 generators/templates/model/index.erb
rhodes-0.2.3 generators/templates/model/index.erb
rhodes-0.2.2 generators/templates/model/index.erb