Sha256: c989b6b358efa2f1296a35d90fec4695d7417c5cf80c8a4336277dc9ae705969
Contents?: true
Size: 753 Bytes
Versions: 2
Compression:
Stored size: 753 Bytes
Contents
<c:if test="${not empty errors}"> <c:forEach items="${errors}" var="error"> ${error.category} - ${error.message}<br /> </c:forEach> </c:if> <form action="<%= path %>" method="post"> <c:if test="${not empty <%= model_parameter_name %>.id}"> <input type="hidden" name="<%= model_parameter_name %>.id" value="${<%= model_parameter_name%>.id}"/> <input type="hidden" name="_method" value="put"/> </c:if> <% @attributes.each do |att| -%> <div class="field"> <%= att.name.camelize %>:<br /> <input type="text" name="<%= model_parameter_name %>.<%=att.name%>" value="${<%=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