Say I have a form like this:
<% form_for(@operation) do |f| %>

  <p><%= f.label :type_operation, "Type d'opération" %> : <%=
f.text_field :type_operation %></p>
  <p><%= f.label :libelle, "Libellé" %> : <%= f.text_field :libelle
%></p>
  <p>
    <%= f.submit "Créer" %>
  </p>
<% end %>

Is there a way to put the customized labels in the
operations_helper.rb file, so that it applies to new, edit, etc.
forms? And if it is possible, how to do it?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ruby-on-rails-programming-with-passion" group.
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to