“Custom Form Helpers” helps me write clean views by moving repetitive tags structure in a plugin.
The generated html looks like that:
<div class="field">
<div class="info">
<label for="field_name">Field Label</label>
</div>
<div class="input">
<input type="text" name="field_name" id="field_name"/>
</div>
</div>
<%= f.custom_text_field :title, :label => 'Title' %>
Author Denis Jacquemin thanks to David Demaree for inspiration.
Copyright © 2009 Denis Jacquemin, released under the MIT license