Sha256: e503b2b5a51d0a61b4f2bf20f0073d7aac848a012d34144817c3c635ab359227
Contents?: true
Size: 757 Bytes
Versions: 2
Compression:
Stored size: 757 Bytes
Contents
<%- city = '01000' district = '01100' cities = TaiwanCity.list districtes = TaiwanCity.list(city) %> <div class='rails-helper city-group'> <%= select_tag :city , options_for_select(cities, city) , prompt: '--縣市--', class: ['city-select', 'city-city'] %> <%= select_tag :district, options_for_select(districtes, district), prompt: '--鄉鎮市區--', class: ['city-select', 'city-district'] %> </div> <div class='html-tag city-group'> <select class='city-select city-city'> <option>--縣市--</option> <%= options_for_select(TaiwanCity.list, city) %> </select> <select class='city-select city-district'> <option>--鄉鎮市區--</option> <%= options_for_select(districtes, district) %> </select> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
taiwan_city-0.0.4 | app/views/taiwan_city/data/index.html.erb |
taiwan_city-0.0.3 | app/views/taiwan_city/data/index.html.erb |