spec/support/new.html.erb in missing_t-0.4.0 vs spec/support/new.html.erb in missing_t-0.4.1
- old
+ new
@@ -1,27 +1,27 @@
-<h1><%= I18n.t("flights.new.new_flight", :default => "New flight") %></h1>
+'<h1><%= I18n.t("flights.new.new_flight") %></h1>'
<% form_for(@flight) do |f| %>
<%= f.error_messages %>
<p>
- <%= f.label I18n.t("flights.new.name", :default => "name") %><br />
+ <%= f.label I18n.t("flights.new.name", :default => "Name") %><br />
<%= f.text_field :name %>
</p>
<p>
- <%= f.label I18n.t("flights.new.capacity", :default => "capacity") %><br />
+ <%= f.label I18n.t("flights.new.capacity", :default => "Capacity") %><br />
<%= f.text_field :capacity %>
</p>
<p>
- <%= f.label I18n.t("flights.new.duration", :default => "duration") %><br />
+ <%= f.label I18n.t("flights.new.duration", :default => "Duration") %><br />
<%= f.text_field :duration %>
</p>
<p>
<%= f.label :from_id, I18n.t("flights.new.from", :default => "From") %><br />
<%= f.select :from_id, @airport_options %>
</p>
<p>
- <%= f.label :to_id, I18n.t("flights.new.to", :default => "To") %><br />
+ <%= f.label :to_id, I18n.t("flights.new.to") %><br />
<%= f.select :to_id, @airport_options %>
</p>
<p>
<%= f.submit I18n.t("flights.new.create", :default => 'Create') %>
</p>