Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/technoweenie
test
README
Rakefile
init.rb
install.rb

README

LabeledFormHelper
=================

The LabeledFormHelper gives you helpers for label tags:

  <%= label_tag('post_title', 'Title') %>
  <label for="post_title">Title</label>

  <%= label_for('post', 'category') %>
  <label for="post_category">Category</label>

  <% form_for :person, @person, :url => { :action => "update" } do |f| %>
    First name: <%= f.text_field :first_name %>
  <% end %>
  
  <form action="update">
    <p><label for="person_first_name">First Name</label><br /><input type="text" id="person_first_name" name="person[first_name]" /></p>
  </form>
Something went wrong with that request. Please try again.