Sha256: e24a1822798b7b632b378fe65297baf450c79024e29bc2217779230b4b428bbe

Contents?: true

Size: 741 Bytes

Versions: 43

Compression:

Stored size: 741 Bytes

Contents

<div data-role="page">

  <div data-role="header" data-position="inline">
    <%%= link_to "Back", :action => :index %>
    <h1>New <%= class_name.camelize %></h1>
  </div>

  <div data-role="content">
    <form method="POST" action="<%%= url_for :action => :create %>">
      <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 %>]"/></td>
            </tr>
          <% end %>
      </table>
      <input type="submit" value="Create"/>
    </form>
  </div>

</div>

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
rhodes-3.3.0.beta.2 res/generators/templates/model/new.bb.erb
rhodes-3.3.0.beta.1 res/generators/templates/model/new.bb.erb
rhodes-3.2.3 res/generators/templates/model/new.bb.erb
rhodes-3.2.2 res/generators/templates/model/new.bb.erb
rhodes-3.2.2.beta res/generators/templates/model/new.bb.erb
rhodes-3.2.1 res/generators/templates/model/new.bb.erb
rhodes-3.2.0 res/generators/templates/model/new.bb.erb
rhodes-3.2.0.beta.9 res/generators/templates/model/new.bb.erb
rhodes-3.2.0.beta.8 res/generators/templates/model/new.bb.erb
rhodes-3.2.0.beta.7 res/generators/templates/model/new.bb.erb
rhodes-3.2.0.beta.6 res/generators/templates/model/new.bb.erb
rhodes-3.2.0.beta.5 res/generators/templates/model/new.bb.erb
rhodes-3.2.0.beta.4 res/generators/templates/model/new.bb.erb
rhodes-3.2.0.beta.2 res/generators/templates/model/new.bb.erb
rhodes-3.2.0.beta.1 res/generators/templates/model/new.bb.erb
rhodes-3.1.1 res/generators/templates/model/new.bb.erb
rhodes-3.1.1.beta res/generators/templates/model/new.bb.erb
rhodes-3.1.0 res/generators/templates/model/new.bb.erb
rhodes-3.1.0.beta.5 res/generators/templates/model/new.bb.erb
rhodes-3.1.0.beta.4 res/generators/templates/model/new.bb.erb