Sha256: 6cfd3c0904ec41a90724930afa2a6e0cc4daa9df72780a87981dd77ca18a989a
Contents?: true
Size: 951 Bytes
Versions: 1
Compression:
Stored size: 951 Bytes
Contents
<h1><%= I18n.t("flights.new.new_flight", :default => "New flight") %></h1> <% form_for(@flight) do |f| %> <%= f.error_messages %> <p> <%= 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.text_field :capacity %> </p> <p> <%= 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.select :to_id, @airport_options %> </p> <p> <%= f.submit I18n.t("flights.new.create", :default => 'Create') %> </p> <% end %> <%= link_to I18n.t("flights.new.back", :default => 'Back'), flights_path %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
missing_t-0.4.0 | spec/support/new.html.erb |