Sha256: 5ed933c31d01f8bbf3cdf151be3e57c807112302cab7b7b80cda807c5c425e8c

Contents?: true

Size: 696 Bytes

Versions: 2

Compression:

Stored size: 696 Bytes

Contents

<!-- Scaffolding generated by Caseadilla <%= caseadilla_get_full_version_string %> -->
<% attribute_itr = 0 %>
<% while attribute_itr < attributes.count %>
<div class="row">
	<div class="col-md-6">
		<%%= caseadilla_<%= field_type(attributes[attribute_itr].type).to_s %> f, f.object, :<%= attributes[attribute_itr].name %><%= ", {:readonly => true}" if @read_only %> %>
	</div><% attribute_itr += 1 %>
	<div class="col-md-6">
		<% if attribute_itr < attributes.count %><%%= caseadilla_<%= field_type(attributes[attribute_itr].type).to_s %> f, f.object, :<%= attributes[attribute_itr].name %><%= ", {:readonly => true}" if @read_only %> %><% end %>
	</div><% attribute_itr += 1 %>
</div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
caseadilla-0.0.8 lib/generators/caseadilla/scaffold/templates/views/_form.html.erb
caseadilla-0.0.7 lib/generators/caseadilla/scaffold/templates/views/_form.html.erb