Sha256: e798af169f964418940cc17e326c6207ee84f68cbfc1a2d30ce42947ce7dbc6c
Contents?: true
Size: 947 Bytes
Versions: 64
Compression:
Stored size: 947 Bytes
Contents
<div id="pageTitle"> <h1>Edit <%%= @<%= name.downcase %>.<%= attributes[0] %>%></h1> </div> <div id="toolbar"> <%%= link_to "Back", :action => :show, :id => @<%= name.downcase %>.object %> <%%= link_to "Delete", :action => :delete, :id => @<%= name.downcase %>.object %> </div> <div id="content"> <form method="POST" action="<%%= url_for :action => :update %>"> <input type="hidden" name="id" value="<%%= @<%= name.downcase %>.object %>"/> <table> <% attributes.each do |attribute| %> <tr> <td class="itemLabel"><%= humanize(attribute) %>: </td> <td class="itemValue"><input type="text" name="<%= name.downcase %>[<%= attribute %>]" value="<%%= @<%= name.downcase %>.<%= attribute %> %>"/></td> </tr> <% end %> </table> <input type="submit" class="standardButton" value="Update" /> </form> </div>
Version data entries
64 entries across 64 versions & 1 rubygems