taiwan_city_dists_helper 0.88 → 0.91
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTI2MjY0ZGZiY2QzNjU1ZjU5MTg5YWFhYWM1MTE3MzBlMzQ3ZDk4Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NzYwM2I4ZTQ5OTg1NzFlYWVlZjM3MjJmMDdmMmJjNjljZmE4OWI1Ng==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODJkMzFlZDQyOWMxMTA5NjI1MzVlZGU1MTlkMjg5YThhMjVhODdjYzcxN2Ix
|
10
|
+
MzQ4ODc1NDk4ZjM1NTMyZTFkODMzZmRjNWY3NjI1OThkNDk5MDhiYjQ5ZjAw
|
11
|
+
MWEyNTRlZTFiNzc0MDU4MWU3ODg2MTk0ZWYzNDI4MDBkMTk2ZDE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjNhODA2ZGM0YWI2Mjg4Y2E1N2VjYzQ3ZmMwNjUxODY5NzkxYTI5ZTQ0MDhh
|
14
|
+
ZjdkMjkxZjk5NDc0Y2NhMGI5M2JjMjFlNmM5NzU3YTQwMmU0MWI3NTU4NGJl
|
15
|
+
ZjEyMWU3NmQxNzc3OGNlYzUxOTU4YmJjNjEwZWJiMTBiMjRkOTg=
|
@@ -1,15 +1,15 @@
|
|
1
1
|
module TaiwanCityDistsHelper
|
2
2
|
module Helper
|
3
|
-
def render_city_select(f, cities,
|
4
|
-
f.collection_select
|
3
|
+
def render_city_select(f, cities, options={}, html_options={})
|
4
|
+
f.collection_select :city_id, cities, :id, :name, options, html_options
|
5
5
|
end
|
6
6
|
|
7
|
-
def render_grouped_dist_select(f, cities,
|
8
|
-
f.grouped_collection_select
|
7
|
+
def render_grouped_dist_select(f, cities, options={}, html_options={})
|
8
|
+
f.grouped_collection_select :dist_id, cities, :dists, :name, :id, :name, options, html_options
|
9
9
|
end
|
10
10
|
|
11
|
-
def render_dist_select(f, dists,
|
12
|
-
f.collection_select
|
11
|
+
def render_dist_select(f, dists, options={}, html_options={})
|
12
|
+
f.collection_select :dist_id, dists, :id, :name, options, html_options
|
13
13
|
end
|
14
14
|
|
15
15
|
end
|