Hi,

Instead of having on the labels the field name I would like to change it
some customized values.

How can I change that ?

Regards

%= form_for(@client_workout) do |f| %>


  <div class="field">
    <%= f.label :client_name %><br />
    <%= f.text_field :client_name %>
  </div>
  <div class="field">
    <%= f.label :trainer %><br />
    <%= f.text_field :trainer %>
  </div>
  <div class="field">
    <%= f.label :duration_min %><br />
    <%= f.text_field :duration_min %>
  </div>
  <div class="field">
    <%= f.label :date_of_workout %><br />
    <%= f.date_select :date_of_workout %>
  </div>
  <div class="field">
    <%= f.label :paid_amount %><br />
    <%= f.text_field :paid_amount %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to