Sha256: f9738ad1f4de84c8e43436991d2d3bb5d1e7f50fc2bb44abb566a70aeecb36f9

Contents?: true

Size: 517 Bytes

Versions: 10

Compression:

Stored size: 517 Bytes

Contents

<h1>New <%= singular_table_name %></h1>

<form id="new-<%= singular_table_name %>" name="<%= singular_table_name %>">
<% attributes.each do |attribute| -%>
  <div class="field">
    <label for="<%= attribute.name %>"> <%= attribute.name %>:</label>
    <input type="text" name="<%= attribute.name %>" id="<%= attribute.name %>" value=<%%= <%= attribute.name %> %> >
  </div>

<% end -%>
  <div class="actions">
    <input type="submit" value="Create <%= human_name %>" />
  </div>

</form>

<a href="#/index">Back</a>

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
rails-backbone-0.6.0.rc lib/generators/backbone/scaffold/templates/templates/new.jst
rails-backbone-0.5.5 lib/generators/backbone/scaffold/templates/templates/new.jst
rails-backbone-sp-0.0.1 lib/generators/backbone/scaffold/templates/templates/new.jst
rails-backbone-0.5.4 lib/generators/backbone/scaffold/templates/templates/new.jst
rails-backbone-0.5.3 lib/generators/backbone/scaffold/templates/templates/new.jst
rails-backbone-0.5.2 lib/generators/backbone/scaffold/templates/templates/new.jst
rails-backbone-0.5.1 lib/generators/backbone/scaffold/templates/templates/new.jst
rails-backbone-0.5.0 lib/generators/backbone/scaffold/templates/templates/new.jst
rails-backbone-0.2.0 lib/generators/backbone/scaffold/templates/templates/new.jst
rails-backbone-0.1.2 lib/generators/backbone/scaffold/templates/templates/new.jst