Sha256: a7ed129e4d8fb65b2a6abd5d75483a029e8e617b2f4b1b64a30ba480e48cbe4b
Contents?: true
Size: 718 Bytes
Versions: 2
Compression:
Stored size: 718 Bytes
Contents
<#if errors??> <#list errors as error> ${error.category} - ${error.message}<br /> </#list> </#if> <form action="<%= path %>" method="post"> <#if <%= "#{model_parameter_name}.id" %>??> <input type="hidden" name="<%= "#{model_parameter_name}.id" %>" value="<%= "${#{model_parameter_name}.id}" %>"/> <input type="hidden" name="_method" value="put"/> </#if> <% @attributes.each do |att| -%> <div class="field"> <%= att.name.camelize %>:<br /> <%= "<@html.#{att.html_input} \"#{model_parameter_name}.#{att.name}\" #{model_parameter_name}.#{att.name}/>" %> </div> <% end -%> <div class="actions"> <button type="submit">send</button> </div> </form> <a href="<%= path %>">Back</a>
Version data entries
2 entries across 2 versions & 1 rubygems