Sha256: c0495e1fc82936a3d974ad4541925048ef2ef5e24ecad7f7a82ab66f4e81e793

Contents?: true

Size: 519 Bytes

Versions: 13

Compression:

Stored size: 519 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

13 entries across 13 versions & 3 rubygems

Version Path
bbr-wsm-1.1.0 lib/generators/backbone/scaffold/templates/templates/new.jst
rails-backbone-1.2.0 lib/generators/backbone/scaffold/templates/templates/new.jst
railsy_backbone-0.0.5 lib/generators/backbone/scaffold/templates/templates/new.jst
railsy_backbone-0.0.4 lib/generators/backbone/scaffold/templates/templates/new.jst
railsy_backbone-0.0.3 lib/generators/backbone/scaffold/templates/templates/new.jst
rails-backbone-0.9.10 lib/generators/backbone/scaffold/templates/templates/new.jst
rails-backbone-0.9.0 lib/generators/backbone/scaffold/templates/templates/new.jst
rails-backbone-0.8.0 lib/generators/backbone/scaffold/templates/templates/new.jst
rails-backbone-0.7.2 lib/generators/backbone/scaffold/templates/templates/new.jst
rails-backbone-0.7.1 lib/generators/backbone/scaffold/templates/templates/new.jst
rails-backbone-0.7.0 lib/generators/backbone/scaffold/templates/templates/new.jst
rails-backbone-0.6.1 lib/generators/backbone/scaffold/templates/templates/new.jst
rails-backbone-0.6.0 lib/generators/backbone/scaffold/templates/templates/new.jst