<h1>CToF2 Example</h1> <p> <%= form_tag 'show' do %><br /> Enter Celsius temperature:<br /> <%= text_field_tag :cel, @c, :class => 'ctrl' %> <br /> <br /> <%= submit_tag 'Convert Temperature', :class => 'ctrl' %> <% end %> </p> <p>The Celsius temperature is <%= @c %>.</p> <p>The Fahrenheit temperature is <%= @f %>.</p>