Sha256: e1c3c8ba6b4220a817a91fe14e441f3a9023d251dee8cc9e5636c0f2d68e376c

Contents?: true

Size: 481 Bytes

Versions: 2

Compression:

Stored size: 481 Bytes

Contents

<fieldset>
<% inputs.each do |input,options| %>
    <% if options.include? :glyph %>
	<div class="controls">
		<div class="input-prepend">
	    	<span class="add-on"><i class="<%= options[:glyph] %>"></i></span>
	<% end %>
	
	<%= f.input input, options %>
	
	<% if options.include? :glyph %>
		</div>
	</div>
	<% end %>
<% end %>
<%= f.hidden_field :_destroy %>

<%= link_to '#', class: "remove_fields btn btn-small" do %>
	<i class="icon-remove"></i>
<% end  %></span>
</fieldset>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
guara-0.0.3 app/views/active_extend/_one_to_many_inputs_with_glyph.html.erb
guara-0.0.1.rc app/views/active_extend/_one_to_many_inputs_with_glyph.html.erb