Sha256: 6b351502756232e617b927de40cbc86cef5fa9bc5d721c88152da7f141cbfc1e

Contents?: true

Size: 680 Bytes

Versions: 9

Compression:

Stored size: 680 Bytes

Contents

<!-- Scaffolding generated by Casein <%= casein_get_full_version_string %> -->
<% attribute_itr = 0 %>
<% while attribute_itr < attributes.count %>
<div class="row">
	<div class="col-lg-6">
		<%%= casein_<%= 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-lg-6">
		<% if attribute_itr < attributes.count %><%%= casein_<%= 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

9 entries across 9 versions & 1 rubygems

Version Path
casein-5.1.1.5 lib/generators/casein/scaffold/templates/views/_form.html.erb
casein-5.1.1.4 lib/generators/casein/scaffold/templates/views/_form.html.erb
casein-5.1.1.3 lib/generators/casein/scaffold/templates/views/_form.html.erb
casein-5.1.1.2 lib/generators/casein/scaffold/templates/views/_form.html.erb
casein-5.1.1.1 lib/generators/casein/scaffold/templates/views/_form.html.erb
casein-5.1.1.0 lib/generators/casein/scaffold/templates/views/_form.html.erb
casein-5.1.0.0 lib/generators/casein/scaffold/templates/views/_form.html.erb
casein-5.0.1.0 lib/generators/casein/scaffold/templates/views/_form.html.erb
casein-5.0.0.0 lib/generators/casein/scaffold/templates/views/_form.html.erb