Sha256: 41424da44a5957f9750bacf48b11a8c037fdc057af7c9d94a27594dad34f51ac
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
<%= javascript_include_tag "concerto_weather/application" %> <%= stylesheet_link_tag "concerto_weather/application" %> <fieldset> <legend><span>Weather</span></legend> <div class="row-fluid"> <div class='span4'> <%= form.fields_for :config do |config| %> <div class="clearfix"> <%= config.label :city_query, "City Search" %> <div class="input"> <%= config.text_field :city_query, placeholder:"Name or Zipcode", value: @content.config['city_id'] %> <%= button_tag type: "button", :class => "btn", onclick: "searchForCityInfo()" do %> <i class="fa fa-refresh"></i> <% end %> </div> </div> <div class="clearfix"> <%= config.label :units %> <div class="input"> <%= config.select :units, Weather::UNITS.map {|k,v| [v, k]}, :selected => @content.config['units'] %> </div> </div> <%= config.hidden_field :lat %> <%= config.hidden_field :lng %> <% end %> </div> <div class="clearfix"> <div class='city-info span8'></div> </div> </div> </fieldset>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
concerto_weather-0.3.2 | app/views/contents/weather/_form_top.html.erb |