Sha256: 440f6fe008fed49aaf07a4eeae20e3550d31ae10c6b9d35069c85690d16a8bea

Contents?: true

Size: 934 Bytes

Versions: 43

Compression:

Stored size: 934 Bytes

Contents

<div data-role="page">

  <div data-role="header" data-position="inline">
    <%%= link_to "Back", :action => :show, :id => @<%= name.downcase %>.object %>
    <h1>Edit <%%= @<%= name.downcase %>.<%= attributes[0] %>%></h1>
    <%%= link_to "Delete", :action => :delete, :id => @<%= name.downcase %>.object %>
  </div>

  <div data-role="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" value="Update"/>
    </form>
  </div>

</div>

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
rhodes-3.5.1.12 res/generators/templates/model/edit.bb.erb
rhodes-3.3.5 res/generators/templates/model/edit.bb.erb
rhodes-3.4.2 res/generators/templates/model/edit.bb.erb
rhodes-3.3.4 res/generators/templates/model/edit.bb.erb
rhodes-3.3.3 res/generators/templates/model/edit.bb.erb
rhodes-3.3.3.beta.4 res/generators/templates/model/edit.bb.erb
rhodes-3.3.3.beta.3 res/generators/templates/model/edit.bb.erb
rhodes-3.3.3.beta.2 res/generators/templates/model/edit.bb.erb
rhodes-3.3.3.beta.1 res/generators/templates/model/edit.bb.erb
rhodes-3.3.2 res/generators/templates/model/edit.bb.erb
rhodes-3.3.2.beta.7 res/generators/templates/model/edit.bb.erb
rhodes-3.3.2.beta.6 res/generators/templates/model/edit.bb.erb
rhodes-3.3.2.beta.5 res/generators/templates/model/edit.bb.erb
rhodes-3.3.2.beta.4 res/generators/templates/model/edit.bb.erb
rhodes-3.3.2.beta.3 res/generators/templates/model/edit.bb.erb
rhodes-3.3.2.beta.2 res/generators/templates/model/edit.bb.erb
rhodes-3.3.2.beta.1 res/generators/templates/model/edit.bb.erb
rhodes-3.3.1 res/generators/templates/model/edit.bb.erb
rhodes-3.3.0 res/generators/templates/model/edit.bb.erb
rhodes-3.3.0.beta.3 res/generators/templates/model/edit.bb.erb