Permalink
Browse files

Fixed up the form.

  • Loading branch information...
1 parent 8ba11d1 commit ca35fe69ee4d1448979d84a6b94039f1371e92ba @ratnikov committed Sep 10, 2010
Showing with 7 additions and 7 deletions.
  1. +6 −6 app/views/routes/new.html.erb
  2. +1 −1 config/locales/en.yml
@@ -1,4 +1,4 @@
-<h1><%#= title t('new-route') %></h1>
+<h1><%= title t('new-route') %></h1>
<dl>
<%= form_for @route do |f| %>
@@ -8,14 +8,14 @@
<dt><%= f.label :to_address %></dt>
<dd><%= f.text_field :to_address %></dd>
- <dd><%= f.label :arrive_at %></dd>
+ <dt><%= f.label :arrive_at %></dt>
<dd><%= f.text_field :arrive_at %></dd>
- <dd><%= f.label :email %></dd>
- <dt><%= f.email_field :email %></dt>
+ <dt><%= f.label :email %></dt>
+ <dd><%= f.email_field :email %></dd>
- <dd><%= f.label :password %></dd>
- <dt><%= f.password_field :password %></dd>
+ <dt><%= f.label :password %></dt>
+ <dd><%= f.password_field :password %></dd>
<dd><%= f.submit 'Create' %></dd>
<% end %>
View
@@ -2,4 +2,4 @@
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
en:
- hello: "Hello world"
+ new-route: Creating a new route

0 comments on commit ca35fe6

Please sign in to comment.