Sha256: 3808ad90970e9238427beb080011e97e2b6a9c1e9d7042465af67baa5293b992
Contents?: true
Size: 655 Bytes
Versions: 25
Compression:
Stored size: 655 Bytes
Contents
<h1>New <%= singular_table_name %></h1> <form id="new-<%= singular_table_name %>" name="<%= singular_table_name %>"> <div class="field"> <label for="name">Name:</label> <input type="text" name="name" id="name" value="<%%= name %>" > </div> <% attributes.each do |attribute| -%> <div class="field"> <label for="<%= attribute.name %>"> <%= attribute.human_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="#/">Back</a>
Version data entries
25 entries across 5 versions & 1 rubygems