<%= f.text_field :app_key %>
<%= f.text_field :app_id %>
<%= f.text_field :update_interval %> <%= t('ruling_bus.time.second') %>
<%= f.text_field :update_route_interval %> <%= t('ruling_bus.time.minute') %>
<%= f.text_field :update_front_interval %> <%= t('ruling_bus.time.second') %>
<%#= f.hidden_field :time_offset, :id=>"weather_timeoffset" %>
<% referer = request.referer rescue nil %>
<% referer = get_referer_url if referer.blank? || request.host != URI.parse(URI.encode(referer)).host %>
<%= f.submit t('ruling_bus.save'), class: 'btn btn-primary' %>
<%= link_to t('cancel'), referer, :class=>"btn" %>