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 My label %br /
On Sun, Aug 28, 2011 at 10:01 AM, Pepe Sanchez li...@ruby-forum.com wrote:
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
On Aug 28, 2011, at 19:44 , Noel wrote:
%= f.label My label %br /
no
f.label :field, my name
https://github.com/rails/rails/blob/4145810150070160677df00345fe22c66e457c1c/actionpack/lib/action_view/helpers/form_helper.rb#L1179
tom
On Sun, Aug 28, 2011 at 10:01 AM, Pepe Sanchez
3 matches
Mail list logo