In my Rails 3.2 project, I have a form to create a new post in new.html.erb
in app/views/posts/
<%= form_for(@post) do |post_form| %>
...
<div class="field">
<%= post_form.label :title %><br />
<%= post_form.text_field :title %>
</div>
...
<div class="actions">
<%= post_form.submit %>
</div>
<% end %>
I want to display the title
label as TITLE
, so I changed the code to post_form.label :TITLE %>
, but it still displays Title
. How can I display it as TITLE
?