Sha256: 647b1fd01deaa91d9c9080e1cd5026690fe6f6b029da96453a29d6e01d4f434b

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 Bytes

Contents

<% @attributes.each do |att| -%>
<div class="field">
	<%= att.html_label %>:<br />
	<%- if att.is_reference? -%>
	<form:select path="<%=att.name%>.id">
		<form:options items="${<%=att.name%>List}" itemValue="id" itemLabel="id"/>
	</form:select>
	<%- else -%>
	<form:<%= att.html_input %> path="<%=att.name%>" />
	<form:errors path="<%=att.name%>" />
  <%- end -%>
</div>

<% end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
springmvc-scaffold-1.0.1 lib/springmvc-scaffold/generators/scaffold/jsp/templates/form.erb