Sha256: cc8b5023463fd8baa17998f7cfd6ff4d0e5f59cbc8ba921a0f8d52c6aaeec4fe

Contents?: true

Size: 972 Bytes

Versions: 5

Compression:

Stored size: 972 Bytes

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 :woeid, "Where On Earth ID (WOEID)" %>
        <div class="input">
          <%= config.text_field :woeid, :placeholder => '2508215', :class => "input-small", :value => @content.config['woeid'] %>
          <br/>
          <i class="woeid-name"><%= @content.config['name'] %></i>
        </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>
    </div>
    <% end %>
    <div>
      <div class='woeid-info span8'></div>
    </div>
  </div>
</fieldset>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
concerto_weather-0.1.0 app/views/contents/weather/_form_top.html.erb
concerto_weather-0.0.9 app/views/contents/weather/_form_top.html.erb
concerto_weather-0.0.8 app/views/contents/weather/_form_top.html.erb
concerto_weather-0.0.7 app/views/contents/weather/_form_top.html.erb
concerto_weather-0.0.6 app/views/contents/weather/_form_top.html.erb