phlex-rails 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -0
- data/.ruby-version +1 -0
- data/Gemfile +2 -1
- data/lib/phlex/rails/buffered.rb +65 -0
- data/lib/phlex/rails/buffered_checkbox_builder.rb +13 -0
- data/lib/phlex/rails/buffered_form_builder.rb +97 -0
- data/lib/phlex/rails/buffered_label_builder.rb +11 -0
- data/lib/phlex/rails/buffered_radio_button_builder.rb +13 -0
- data/lib/phlex/rails/helper_macros.rb +95 -0
- data/lib/phlex/rails/helpers/routes.rb +8 -0
- data/lib/phlex/rails/helpers/tag.rb +17 -0
- data/lib/phlex/rails/helpers.rb +1395 -155
- data/lib/phlex/rails/html/overrides.rb +3 -4
- data/lib/phlex/rails/layout.rb +12 -13
- data/lib/phlex/rails/version.rb +1 -1
- metadata +12 -3
data/lib/phlex/rails/helpers.rb
CHANGED
@@ -1,159 +1,1399 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
module Phlex
|
4
|
-
module
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
3
|
+
module Phlex::Rails::Helpers
|
4
|
+
module ActionCableMetaTag
|
5
|
+
extend Phlex::Rails::HelperMacros
|
6
|
+
|
7
|
+
# @!method action_cable_meta_tag
|
8
|
+
# Outputs an "action-cable-url" meta tag with the value of the URL specified in your configuration. Ensure this is above your JavaScript tag:
|
9
|
+
# @see https://api.rubyonrails.org/classes/ActionCable/Helpers/ActionCableHelper.html#method-i-action_cable_meta_tag
|
10
|
+
# @return [nil]
|
11
|
+
define_output_helper :action_cable_meta_tag
|
12
|
+
end
|
13
|
+
|
14
|
+
module ActionName
|
15
|
+
extend Phlex::Rails::HelperMacros
|
16
|
+
|
17
|
+
# @!method action_name
|
18
|
+
# @return [String] the name of the controller action, e.g. <code>"index"</code>
|
19
|
+
# @see https://api.rubyonrails.org/classes/AbstractController/Base.html#method-i-action_name
|
20
|
+
define_value_helper :action_name
|
21
|
+
end
|
22
|
+
|
23
|
+
module AssetPath
|
24
|
+
extend Phlex::Rails::HelperMacros
|
25
|
+
|
26
|
+
# @!method asset_path(source, host: nil, protocol: nil, type: nil, skip_pipeline: nil, extname: nil)
|
27
|
+
# @param source [String]
|
28
|
+
# @param host [String]
|
29
|
+
# @param protocol [String] e.g. <code>"https"</code>
|
30
|
+
# @param type [Symbol] e.g. <code>:javascript</code>
|
31
|
+
# @param skip_pipeline [bool]
|
32
|
+
# @param extname [String] e.g. <code>".js"</code>
|
33
|
+
# @see https://api.rubyonrails.org/classes/ActionView/Helpers/AssetUrlHelper.html#method-i-asset_path
|
34
|
+
define_value_helper :asset_path
|
35
|
+
end
|
36
|
+
|
37
|
+
module AssetURL
|
38
|
+
extend Phlex::Rails::HelperMacros
|
39
|
+
|
40
|
+
# @!method asset_url(...)
|
41
|
+
define_value_helper :asset_url
|
42
|
+
end
|
43
|
+
|
44
|
+
module AudioPath
|
45
|
+
extend Phlex::Rails::HelperMacros
|
46
|
+
|
47
|
+
# @!method audio_path(...)
|
48
|
+
define_value_helper :audio_path
|
49
|
+
end
|
50
|
+
|
51
|
+
module AudioTag
|
52
|
+
extend Phlex::Rails::HelperMacros
|
53
|
+
|
54
|
+
# @!method audio_tag(...)
|
55
|
+
# @return [nil]
|
56
|
+
define_output_helper :audio_tag
|
57
|
+
end
|
58
|
+
|
59
|
+
module AudioURL
|
60
|
+
extend Phlex::Rails::HelperMacros
|
61
|
+
|
62
|
+
# @!method audio_url(...)
|
63
|
+
define_value_helper :audio_url
|
64
|
+
end
|
65
|
+
|
66
|
+
module AutoDiscoveryLinkTag
|
67
|
+
extend Phlex::Rails::HelperMacros
|
68
|
+
|
69
|
+
# @!method auto_discovery_link_tag(...)
|
70
|
+
# @return [nil]
|
71
|
+
define_output_helper :auto_discovery_link_tag
|
72
|
+
end
|
73
|
+
|
74
|
+
module BuildTagValues
|
75
|
+
extend Phlex::Rails::HelperMacros
|
76
|
+
|
77
|
+
# @!method build_tag_values(...)
|
78
|
+
define_value_helper :build_tag_values
|
79
|
+
end
|
80
|
+
|
81
|
+
module ButtonTag
|
82
|
+
extend Phlex::Rails::HelperMacros
|
83
|
+
|
84
|
+
# @!method button_tag(...)
|
85
|
+
# @return [nil]
|
86
|
+
define_output_helper_with_capture_block :button_tag
|
87
|
+
end
|
88
|
+
|
89
|
+
module ButtonTo
|
90
|
+
extend Phlex::Rails::HelperMacros
|
91
|
+
|
92
|
+
# @!method button_to(...)
|
93
|
+
# @return [nil]
|
94
|
+
define_output_helper_with_capture_block :button_to
|
95
|
+
end
|
96
|
+
|
97
|
+
module Checkbox
|
98
|
+
extend Phlex::Rails::HelperMacros
|
99
|
+
|
100
|
+
# @!method check_box(...)
|
101
|
+
# @return [nil]
|
102
|
+
define_output_helper :check_box
|
103
|
+
end
|
104
|
+
|
105
|
+
module CheckboxTag
|
106
|
+
extend Phlex::Rails::HelperMacros
|
107
|
+
|
108
|
+
# @!method check_box_tag(...)
|
109
|
+
# @return [nil]
|
110
|
+
define_output_helper :check_box_tag
|
111
|
+
end
|
112
|
+
|
113
|
+
module ClassNames
|
114
|
+
extend Phlex::Rails::HelperMacros
|
115
|
+
|
116
|
+
# @!method class_names(...)
|
117
|
+
define_value_helper :class_names
|
118
|
+
end
|
119
|
+
|
120
|
+
module CollectionCheckboxes
|
121
|
+
extend Phlex::Rails::HelperMacros
|
122
|
+
|
123
|
+
# @!method collection_check_boxes(...)
|
124
|
+
# @yield [builder]
|
125
|
+
# @yieldparam builder [Phlex::Rails::BufferedCheckboxBuilder]
|
126
|
+
define_builder_yielding_helper :collection_check_boxes, Phlex::Rails::BufferedCheckboxBuilder
|
127
|
+
end
|
128
|
+
|
129
|
+
module CollectionRadioButtons
|
130
|
+
extend Phlex::Rails::HelperMacros
|
131
|
+
|
132
|
+
# @!method collection_radio_buttons(...)
|
133
|
+
# @yield [builder]
|
134
|
+
# @yieldparam builder [Phlex::Rails::BufferedRadioButtonBuilder]
|
135
|
+
define_builder_yielding_helper :collection_radio_buttons, Phlex::Rails::BufferedRadioButtonBuilder
|
136
|
+
end
|
137
|
+
|
138
|
+
module CollectionSelect
|
139
|
+
extend Phlex::Rails::HelperMacros
|
140
|
+
|
141
|
+
# @!method collection_select(...)
|
142
|
+
# @return [nil]
|
143
|
+
define_output_helper :collection_select
|
144
|
+
end
|
145
|
+
|
146
|
+
module ColorField
|
147
|
+
extend Phlex::Rails::HelperMacros
|
148
|
+
|
149
|
+
# @!method color_field(...)
|
150
|
+
# @return [nil]
|
151
|
+
define_output_helper :color_field
|
152
|
+
end
|
153
|
+
|
154
|
+
module ColorFieldTag
|
155
|
+
extend Phlex::Rails::HelperMacros
|
156
|
+
|
157
|
+
# @!method color_field_tag(...)
|
158
|
+
# @return [nil]
|
159
|
+
define_output_helper :color_field_tag
|
160
|
+
end
|
161
|
+
|
162
|
+
module ComputeAssetExtname
|
163
|
+
extend Phlex::Rails::HelperMacros
|
164
|
+
|
165
|
+
# @!method compute_asset_extname(...)
|
166
|
+
define_value_helper :compute_asset_extname
|
167
|
+
end
|
168
|
+
|
169
|
+
module ComputeAssetHost
|
170
|
+
extend Phlex::Rails::HelperMacros
|
171
|
+
|
172
|
+
# @!method compute_asset_host(...)
|
173
|
+
define_value_helper :compute_asset_host
|
174
|
+
end
|
175
|
+
|
176
|
+
module ComputeAssetPath
|
177
|
+
extend Phlex::Rails::HelperMacros
|
178
|
+
|
179
|
+
# @!method compute_asset_path(...)
|
180
|
+
define_value_helper :compute_asset_path
|
181
|
+
end
|
182
|
+
|
183
|
+
module ContentFor
|
184
|
+
extend Phlex::Rails::HelperMacros
|
185
|
+
|
186
|
+
# @!method content_for?(...)
|
187
|
+
define_value_helper :content_for?
|
188
|
+
|
189
|
+
# @!method content_for(...)
|
190
|
+
define_value_helper_with_capture_block :content_for
|
191
|
+
end
|
192
|
+
|
193
|
+
module ContentTag
|
194
|
+
extend Phlex::Rails::HelperMacros
|
195
|
+
|
196
|
+
# @!method content_tag(...)
|
197
|
+
# @return [nil]
|
198
|
+
define_output_helper_with_capture_block :content_tag
|
199
|
+
end
|
200
|
+
|
201
|
+
module ControllerName
|
202
|
+
extend Phlex::Rails::HelperMacros
|
203
|
+
|
204
|
+
# @!method controller_name(...)
|
205
|
+
define_value_helper :controller_name
|
206
|
+
end
|
207
|
+
|
208
|
+
module ControllerPath
|
209
|
+
extend Phlex::Rails::HelperMacros
|
210
|
+
|
211
|
+
# @!method controller_path(...)
|
212
|
+
define_value_helper :controller_path
|
213
|
+
end
|
214
|
+
|
215
|
+
module CSPMetaTag
|
216
|
+
extend Phlex::Rails::HelperMacros
|
217
|
+
|
218
|
+
# @!method csp_meta_tag(...)
|
219
|
+
# @return [nil]
|
220
|
+
define_output_helper :csp_meta_tag
|
221
|
+
end
|
222
|
+
|
223
|
+
module CSRFMetaTags
|
224
|
+
extend Phlex::Rails::HelperMacros
|
225
|
+
|
226
|
+
# @!method csrf_meta_tags(...)
|
227
|
+
# @return [nil]
|
228
|
+
define_output_helper :csrf_meta_tags
|
229
|
+
end
|
230
|
+
|
231
|
+
module CurrentCycle
|
232
|
+
extend Phlex::Rails::HelperMacros
|
233
|
+
|
234
|
+
# @!method current_cycle(...)
|
235
|
+
define_value_helper :current_cycle
|
236
|
+
end
|
237
|
+
|
238
|
+
module CurrentPage
|
239
|
+
extend Phlex::Rails::HelperMacros
|
240
|
+
|
241
|
+
# @!method current_page?(...)
|
242
|
+
define_value_helper :current_page?
|
243
|
+
end
|
244
|
+
|
245
|
+
module Cycle
|
246
|
+
extend Phlex::Rails::HelperMacros
|
247
|
+
|
248
|
+
# @!method cycle(...)
|
249
|
+
define_value_helper :cycle
|
250
|
+
end
|
251
|
+
|
252
|
+
module DateField
|
253
|
+
extend Phlex::Rails::HelperMacros
|
254
|
+
|
255
|
+
# @!method date_field(...)
|
256
|
+
# @return [nil]
|
257
|
+
define_output_helper :date_field
|
258
|
+
end
|
259
|
+
|
260
|
+
module DateFieldTag
|
261
|
+
extend Phlex::Rails::HelperMacros
|
262
|
+
|
263
|
+
# @!method date_field_tag(...)
|
264
|
+
# @return [nil]
|
265
|
+
define_output_helper :date_field_tag
|
266
|
+
end
|
267
|
+
|
268
|
+
module DateSelect
|
269
|
+
extend Phlex::Rails::HelperMacros
|
270
|
+
|
271
|
+
# @!method date_select(...)
|
272
|
+
# @return [nil]
|
273
|
+
define_output_helper :date_select
|
274
|
+
end
|
275
|
+
|
276
|
+
module DateTimeField
|
277
|
+
extend Phlex::Rails::HelperMacros
|
278
|
+
|
279
|
+
# @!method datetime_field(...)
|
280
|
+
# @return [nil]
|
281
|
+
define_output_helper :datetime_field
|
282
|
+
end
|
283
|
+
|
284
|
+
module DateTimeFieldTag
|
285
|
+
extend Phlex::Rails::HelperMacros
|
286
|
+
|
287
|
+
# @!method datetime_field_tag(...)
|
288
|
+
# @return [nil]
|
289
|
+
define_output_helper :datetime_field_tag
|
290
|
+
end
|
291
|
+
|
292
|
+
module DateTimeLocalField
|
293
|
+
extend Phlex::Rails::HelperMacros
|
294
|
+
|
295
|
+
# @!method datetime_local_field(...)
|
296
|
+
# @return [nil]
|
297
|
+
define_output_helper :datetime_local_field
|
298
|
+
end
|
299
|
+
|
300
|
+
module DateTimeLocalFieldTag
|
301
|
+
extend Phlex::Rails::HelperMacros
|
302
|
+
|
303
|
+
# @!method datetime_local_field_tag(...)
|
304
|
+
# @return [nil]
|
305
|
+
define_output_helper :datetime_local_field_tag
|
306
|
+
end
|
307
|
+
|
308
|
+
module DateTimeSelect
|
309
|
+
extend Phlex::Rails::HelperMacros
|
310
|
+
|
311
|
+
# @!method datetime_select(...)
|
312
|
+
# @return [nil]
|
313
|
+
define_output_helper :datetime_select
|
314
|
+
end
|
315
|
+
|
316
|
+
module Debug
|
317
|
+
extend Phlex::Rails::HelperMacros
|
318
|
+
|
319
|
+
# @!method debug(...)
|
320
|
+
# @return [nil]
|
321
|
+
define_output_helper :debug
|
322
|
+
end
|
323
|
+
|
324
|
+
module DefaultURLOptions
|
325
|
+
extend Phlex::Rails::HelperMacros
|
326
|
+
|
327
|
+
# @!method default_url_options(...)
|
328
|
+
define_value_helper :default_url_options
|
329
|
+
end
|
330
|
+
|
331
|
+
module DistanceOfTimeInWords
|
332
|
+
extend Phlex::Rails::HelperMacros
|
333
|
+
|
334
|
+
# @!method distance_of_time_in_words(...)
|
335
|
+
define_value_helper :distance_of_time_in_words
|
336
|
+
end
|
337
|
+
|
338
|
+
module DistanceOfTimeInWordsToNow
|
339
|
+
extend Phlex::Rails::HelperMacros
|
340
|
+
|
341
|
+
# @!method distance_of_time_in_words_to_now(...)
|
342
|
+
define_value_helper :distance_of_time_in_words_to_now
|
343
|
+
end
|
344
|
+
|
345
|
+
module EmailField
|
346
|
+
extend Phlex::Rails::HelperMacros
|
347
|
+
|
348
|
+
# @!method email_field(...)
|
349
|
+
# @return [nil]
|
350
|
+
define_output_helper :email_field
|
351
|
+
end
|
352
|
+
|
353
|
+
module EmailFieldTag
|
354
|
+
extend Phlex::Rails::HelperMacros
|
355
|
+
|
356
|
+
# @!method email_field_tag(...)
|
357
|
+
# @return [nil]
|
358
|
+
define_output_helper :email_field_tag
|
359
|
+
end
|
360
|
+
|
361
|
+
module ErrorMessage
|
362
|
+
extend Phlex::Rails::HelperMacros
|
363
|
+
|
364
|
+
# @!method error_message(...)
|
365
|
+
define_value_helper :error_message
|
366
|
+
end
|
367
|
+
|
368
|
+
module ErrorWrapping
|
369
|
+
extend Phlex::Rails::HelperMacros
|
370
|
+
|
371
|
+
# @!method error_wrapping(...)
|
372
|
+
# @return [nil]
|
373
|
+
define_output_helper :error_wrapping
|
374
|
+
end
|
375
|
+
|
376
|
+
module EscapeOnce
|
377
|
+
extend Phlex::Rails::HelperMacros
|
378
|
+
|
379
|
+
# @!method escape_once(...)
|
380
|
+
define_value_helper :escape_once
|
381
|
+
end
|
382
|
+
|
383
|
+
module Excerpt
|
384
|
+
extend Phlex::Rails::HelperMacros
|
385
|
+
|
386
|
+
# @!method excerpt(...)
|
387
|
+
define_value_helper :excerpt
|
388
|
+
end
|
389
|
+
|
390
|
+
module FaviconLinkTag
|
391
|
+
extend Phlex::Rails::HelperMacros
|
392
|
+
|
393
|
+
# @!method favicon_link_tag(...)
|
394
|
+
# @return [nil]
|
395
|
+
define_output_helper :favicon_link_tag
|
396
|
+
end
|
397
|
+
|
398
|
+
module FieldID
|
399
|
+
extend Phlex::Rails::HelperMacros
|
400
|
+
|
401
|
+
# @!method field_id(...)
|
402
|
+
define_value_helper :field_id
|
403
|
+
end
|
404
|
+
|
405
|
+
module FieldName
|
406
|
+
extend Phlex::Rails::HelperMacros
|
407
|
+
|
408
|
+
# @!method field_name(...)
|
409
|
+
define_value_helper :field_name
|
410
|
+
end
|
411
|
+
|
412
|
+
module Fields
|
413
|
+
extend Phlex::Rails::HelperMacros
|
414
|
+
|
415
|
+
# @!method fields(...)
|
416
|
+
# @yield [builder]
|
417
|
+
# @yieldparam builder [Phlex::Rails::BufferedFormBuilder]
|
418
|
+
define_builder_yielding_helper :fields, Phlex::Rails::BufferedFormBuilder
|
419
|
+
end
|
420
|
+
|
421
|
+
module FieldSetTag
|
422
|
+
extend Phlex::Rails::HelperMacros
|
423
|
+
|
424
|
+
# @!method field_set_tag(...)
|
425
|
+
# @return [nil]
|
426
|
+
define_output_helper_with_capture_block :field_set_tag
|
427
|
+
end
|
428
|
+
|
429
|
+
module FieldsFor
|
430
|
+
extend Phlex::Rails::HelperMacros
|
431
|
+
|
432
|
+
# @!method fields_for(...)
|
433
|
+
# @yield [builder]
|
434
|
+
# @yieldparam builder [Phlex::Rails::BufferedFormBuilder]
|
435
|
+
define_builder_yielding_helper :fields_for, Phlex::Rails::BufferedFormBuilder
|
436
|
+
end
|
437
|
+
|
438
|
+
module FileField
|
439
|
+
extend Phlex::Rails::HelperMacros
|
440
|
+
|
441
|
+
# @!method file_field(...)
|
442
|
+
# @return [nil]
|
443
|
+
define_output_helper :file_field
|
444
|
+
end
|
445
|
+
|
446
|
+
module FileFieldTag
|
447
|
+
extend Phlex::Rails::HelperMacros
|
448
|
+
|
449
|
+
# @!method file_field_tag(...)
|
450
|
+
# @return [nil]
|
451
|
+
define_output_helper :file_field_tag
|
452
|
+
end
|
453
|
+
|
454
|
+
module FontPath
|
455
|
+
extend Phlex::Rails::HelperMacros
|
456
|
+
|
457
|
+
# @!method font_path(...)
|
458
|
+
define_value_helper :font_path
|
459
|
+
end
|
460
|
+
|
461
|
+
module FontURL
|
462
|
+
extend Phlex::Rails::HelperMacros
|
463
|
+
|
464
|
+
# @!method font_url(...)
|
465
|
+
define_value_helper :font_url
|
466
|
+
end
|
467
|
+
|
468
|
+
module FormFor
|
469
|
+
extend Phlex::Rails::HelperMacros
|
470
|
+
|
471
|
+
# @!method form_for(...)
|
472
|
+
# @yield [builder]
|
473
|
+
# @yieldparam builder [Phlex::Rails::BufferedFormBuilder]
|
474
|
+
define_builder_yielding_helper :form_for, Phlex::Rails::BufferedFormBuilder
|
475
|
+
end
|
476
|
+
|
477
|
+
module FormTag
|
478
|
+
extend Phlex::Rails::HelperMacros
|
479
|
+
|
480
|
+
# @!method form_tag(...)
|
481
|
+
# @return [nil]
|
482
|
+
define_output_helper_with_capture_block :form_tag
|
483
|
+
end
|
484
|
+
|
485
|
+
module FormWith
|
486
|
+
extend Phlex::Rails::HelperMacros
|
487
|
+
|
488
|
+
# @!method form_with(...)
|
489
|
+
# @yield [builder]
|
490
|
+
# @yieldparam builder [Phlex::Rails::BufferedFormBuilder]
|
491
|
+
define_builder_yielding_helper :form_with, Phlex::Rails::BufferedFormBuilder
|
492
|
+
end
|
493
|
+
|
494
|
+
module GroupedCollectionSelect
|
495
|
+
extend Phlex::Rails::HelperMacros
|
496
|
+
|
497
|
+
# @!method grouped_collection_select(...)
|
498
|
+
# @return [nil]
|
499
|
+
define_output_helper :grouped_collection_select
|
500
|
+
end
|
501
|
+
|
502
|
+
module GroupedOptionsForSelect
|
503
|
+
extend Phlex::Rails::HelperMacros
|
504
|
+
|
505
|
+
# @!method grouped_options_for_select(...)
|
506
|
+
# @return [nil]
|
507
|
+
define_output_helper :grouped_options_for_select
|
508
|
+
end
|
509
|
+
|
510
|
+
module HiddenField
|
511
|
+
extend Phlex::Rails::HelperMacros
|
512
|
+
|
513
|
+
# @!method hidden_field(...)
|
514
|
+
# @return [nil]
|
515
|
+
define_output_helper :hidden_field
|
516
|
+
end
|
517
|
+
|
518
|
+
module HiddenFieldTag
|
519
|
+
extend Phlex::Rails::HelperMacros
|
520
|
+
|
521
|
+
# @!method hidden_field_tag(...)
|
522
|
+
# @return [nil]
|
523
|
+
define_output_helper :hidden_field_tag
|
524
|
+
end
|
525
|
+
|
526
|
+
module Highlight
|
527
|
+
extend Phlex::Rails::HelperMacros
|
528
|
+
|
529
|
+
# @!method highlight(...)
|
530
|
+
# @return [nil]
|
531
|
+
define_output_helper :highlight
|
532
|
+
end
|
533
|
+
|
534
|
+
module ImagePath
|
535
|
+
extend Phlex::Rails::HelperMacros
|
536
|
+
|
537
|
+
# @!method image_path(...)
|
538
|
+
define_value_helper :image_path
|
539
|
+
end
|
540
|
+
|
541
|
+
module ImageSubmitTag
|
542
|
+
extend Phlex::Rails::HelperMacros
|
543
|
+
|
544
|
+
# @!method image_submit_tag(...)
|
545
|
+
# @return [nil]
|
546
|
+
define_output_helper :image_submit_tag
|
547
|
+
end
|
548
|
+
|
549
|
+
module ImageTag
|
550
|
+
extend Phlex::Rails::HelperMacros
|
551
|
+
|
552
|
+
# @!method image_tag(...)
|
553
|
+
# @return [nil]
|
554
|
+
define_output_helper :image_tag
|
555
|
+
end
|
556
|
+
|
557
|
+
module ImageURL
|
558
|
+
extend Phlex::Rails::HelperMacros
|
559
|
+
|
560
|
+
# @!method image_url(...)
|
561
|
+
define_value_helper :image_url
|
562
|
+
end
|
563
|
+
|
564
|
+
module JavaScriptImportModuleTag
|
565
|
+
extend Phlex::Rails::HelperMacros
|
566
|
+
|
567
|
+
# @!method javascript_import_module_tag(...)
|
568
|
+
# @return [nil]
|
569
|
+
define_output_helper :javascript_import_module_tag
|
570
|
+
end
|
571
|
+
|
572
|
+
module JavaScriptImportMapTags
|
573
|
+
extend Phlex::Rails::HelperMacros
|
574
|
+
|
575
|
+
# @!method javascript_importmap_tags(...)
|
576
|
+
# @return [nil]
|
577
|
+
define_output_helper :javascript_importmap_tags
|
578
|
+
end
|
579
|
+
|
580
|
+
module JavaScriptIncludeTag
|
581
|
+
extend Phlex::Rails::HelperMacros
|
582
|
+
|
583
|
+
# @!method javascript_include_tag(...)
|
584
|
+
# @return [nil]
|
585
|
+
define_output_helper :javascript_include_tag
|
586
|
+
end
|
587
|
+
|
588
|
+
module JavaScriptPath
|
589
|
+
extend Phlex::Rails::HelperMacros
|
590
|
+
|
591
|
+
# @!method javascript_path(...)
|
592
|
+
define_value_helper :javascript_path
|
593
|
+
end
|
594
|
+
|
595
|
+
module JavaScriptTag
|
596
|
+
extend Phlex::Rails::HelperMacros
|
597
|
+
|
598
|
+
# @!method javascript_tag(...)
|
599
|
+
# @return [nil]
|
600
|
+
define_output_helper_with_capture_block :javascript_tag
|
601
|
+
end
|
602
|
+
|
603
|
+
module JavaScriptURL
|
604
|
+
extend Phlex::Rails::HelperMacros
|
605
|
+
|
606
|
+
# @!method javascript_url(...)
|
607
|
+
define_value_helper :javascript_url
|
608
|
+
end
|
609
|
+
|
610
|
+
module L
|
611
|
+
extend Phlex::Rails::HelperMacros
|
612
|
+
|
613
|
+
# @!method l(...)
|
614
|
+
define_value_helper :l
|
615
|
+
end
|
616
|
+
|
617
|
+
module Label
|
618
|
+
extend Phlex::Rails::HelperMacros
|
619
|
+
|
620
|
+
# @!method label(...)
|
621
|
+
define_builder_yielding_helper :label, Phlex::Rails::BufferedLabelBuilder
|
622
|
+
end
|
623
|
+
|
624
|
+
module LabelTag
|
625
|
+
extend Phlex::Rails::HelperMacros
|
626
|
+
|
627
|
+
# @!method label_tag(...)
|
628
|
+
# @return [nil]
|
629
|
+
define_output_helper_with_capture_block :label_tag
|
630
|
+
end
|
631
|
+
|
632
|
+
module LinkTo
|
633
|
+
extend Phlex::Rails::HelperMacros
|
634
|
+
|
635
|
+
# @!method link_to(...)
|
636
|
+
# @return [nil]
|
637
|
+
define_output_helper_with_capture_block :link_to
|
638
|
+
end
|
639
|
+
|
640
|
+
module LinkIf
|
641
|
+
extend Phlex::Rails::HelperMacros
|
642
|
+
|
643
|
+
# @!method link_to_if(...)
|
644
|
+
# @return [nil]
|
645
|
+
define_output_helper_with_capture_block :link_to_if
|
646
|
+
end
|
647
|
+
|
648
|
+
module LinkToUnless
|
649
|
+
extend Phlex::Rails::HelperMacros
|
650
|
+
|
651
|
+
# @!method link_to_unless(...)
|
652
|
+
# @return [nil]
|
653
|
+
define_output_helper_with_capture_block :link_to_unless
|
654
|
+
end
|
655
|
+
|
656
|
+
module LinkToUnlessCurrent
|
657
|
+
extend Phlex::Rails::HelperMacros
|
658
|
+
|
659
|
+
# @!method link_to_unless_current(...)
|
660
|
+
# @return [nil]
|
661
|
+
define_output_helper_with_capture_block :link_to_unless_current
|
662
|
+
end
|
663
|
+
|
664
|
+
module Localize
|
665
|
+
extend Phlex::Rails::HelperMacros
|
666
|
+
|
667
|
+
# @!method localize(...)
|
668
|
+
define_value_helper :localize
|
669
|
+
end
|
670
|
+
|
671
|
+
module MailTo
|
672
|
+
extend Phlex::Rails::HelperMacros
|
673
|
+
|
674
|
+
# @!method mail_to(...)
|
675
|
+
# @return [nil]
|
676
|
+
define_output_helper_with_capture_block :mail_to
|
677
|
+
end
|
678
|
+
|
679
|
+
module MonthField
|
680
|
+
extend Phlex::Rails::HelperMacros
|
681
|
+
|
682
|
+
# @!method month_field(...)
|
683
|
+
# @return [nil]
|
684
|
+
define_output_helper :month_field
|
685
|
+
end
|
686
|
+
|
687
|
+
module MonthFieldTag
|
688
|
+
extend Phlex::Rails::HelperMacros
|
689
|
+
|
690
|
+
# @!method month_field_tag(...)
|
691
|
+
# @return [nil]
|
692
|
+
define_output_helper :month_field_tag
|
693
|
+
end
|
694
|
+
|
695
|
+
module NumberField
|
696
|
+
extend Phlex::Rails::HelperMacros
|
697
|
+
|
698
|
+
# @!method number_field(...)
|
699
|
+
# @return [nil]
|
700
|
+
define_output_helper :number_field
|
701
|
+
end
|
702
|
+
|
703
|
+
module NumberFieldTag
|
704
|
+
extend Phlex::Rails::HelperMacros
|
705
|
+
|
706
|
+
# @!method number_field_tag(...)
|
707
|
+
# @return [nil]
|
708
|
+
define_output_helper :number_field_tag
|
709
|
+
end
|
710
|
+
|
711
|
+
module NumberToCurrency
|
712
|
+
extend Phlex::Rails::HelperMacros
|
713
|
+
|
714
|
+
# @!method number_to_currency(...)
|
715
|
+
define_value_helper :number_to_currency
|
716
|
+
end
|
717
|
+
|
718
|
+
module NumberToHuman
|
719
|
+
extend Phlex::Rails::HelperMacros
|
720
|
+
|
721
|
+
# @!method number_to_human(...)
|
722
|
+
define_value_helper :number_to_human
|
723
|
+
end
|
724
|
+
|
725
|
+
module NumberToHumanSize
|
726
|
+
extend Phlex::Rails::HelperMacros
|
727
|
+
|
728
|
+
# @!method number_to_human_size(...)
|
729
|
+
define_value_helper :number_to_human_size
|
730
|
+
end
|
731
|
+
|
732
|
+
module NumberToPercentage
|
733
|
+
extend Phlex::Rails::HelperMacros
|
734
|
+
|
735
|
+
# @!method number_to_percentage(...)
|
736
|
+
define_value_helper :number_to_percentage
|
737
|
+
end
|
738
|
+
|
739
|
+
module NumberToPhone
|
740
|
+
extend Phlex::Rails::HelperMacros
|
741
|
+
|
742
|
+
# @!method number_to_phone(...)
|
743
|
+
define_value_helper :number_to_phone
|
744
|
+
end
|
745
|
+
|
746
|
+
module NumberWithDelimiter
|
747
|
+
extend Phlex::Rails::HelperMacros
|
748
|
+
|
749
|
+
# @!method number_with_delimiter(...)
|
750
|
+
define_value_helper :number_with_delimiter
|
751
|
+
end
|
752
|
+
|
753
|
+
module NumberWithPrecision
|
754
|
+
extend Phlex::Rails::HelperMacros
|
755
|
+
|
756
|
+
# @!method number_with_precision(...)
|
757
|
+
define_value_helper :number_with_precision
|
758
|
+
end
|
759
|
+
|
760
|
+
module Object
|
761
|
+
extend Phlex::Rails::HelperMacros
|
762
|
+
|
763
|
+
# @!method object(...)
|
764
|
+
define_value_helper :object
|
765
|
+
end
|
766
|
+
|
767
|
+
module OptionGroupsFromCollectionForSelect
|
768
|
+
extend Phlex::Rails::HelperMacros
|
769
|
+
|
770
|
+
# @!method option_groups_from_collection_for_select(...)
|
771
|
+
# @return [nil]
|
772
|
+
define_output_helper :option_groups_from_collection_for_select
|
773
|
+
end
|
774
|
+
|
775
|
+
module OptionsForSelect
|
776
|
+
extend Phlex::Rails::HelperMacros
|
777
|
+
|
778
|
+
# @!method options_for_select(...)
|
779
|
+
# @return [nil]
|
780
|
+
define_output_helper :options_for_select
|
781
|
+
end
|
782
|
+
|
783
|
+
module OptionsFromCollectionForSelect
|
784
|
+
extend Phlex::Rails::HelperMacros
|
785
|
+
|
786
|
+
# @!method options_from_collection_for_select(...)
|
787
|
+
# @return [nil]
|
788
|
+
define_output_helper :options_from_collection_for_select
|
789
|
+
end
|
790
|
+
|
791
|
+
module PasswordField
|
792
|
+
extend Phlex::Rails::HelperMacros
|
793
|
+
|
794
|
+
# @!method password_field(...)
|
795
|
+
# @return [nil]
|
796
|
+
define_output_helper :password_field
|
797
|
+
end
|
798
|
+
|
799
|
+
module PasswordFieldTag
|
800
|
+
extend Phlex::Rails::HelperMacros
|
801
|
+
|
802
|
+
# @!method password_field_tag(...)
|
803
|
+
# @return [nil]
|
804
|
+
define_output_helper :password_field_tag
|
805
|
+
end
|
806
|
+
|
807
|
+
module PathToAsset
|
808
|
+
extend Phlex::Rails::HelperMacros
|
809
|
+
|
810
|
+
# @!method path_to_asset(...)
|
811
|
+
define_value_helper :path_to_asset
|
812
|
+
end
|
813
|
+
|
814
|
+
module PathToAudio
|
815
|
+
extend Phlex::Rails::HelperMacros
|
816
|
+
|
817
|
+
# @!method path_to_audio(...)
|
818
|
+
define_value_helper :path_to_audio
|
819
|
+
end
|
820
|
+
|
821
|
+
module PathToFont
|
822
|
+
extend Phlex::Rails::HelperMacros
|
823
|
+
|
824
|
+
# @!method path_to_font(...)
|
825
|
+
define_value_helper :path_to_font
|
826
|
+
end
|
827
|
+
|
828
|
+
module PathToImage
|
829
|
+
extend Phlex::Rails::HelperMacros
|
830
|
+
|
831
|
+
# @!method path_to_image(...)
|
832
|
+
define_value_helper :path_to_image
|
833
|
+
end
|
834
|
+
|
835
|
+
module PathToJavaScript
|
836
|
+
extend Phlex::Rails::HelperMacros
|
837
|
+
|
838
|
+
# @!method path_to_javascript(...)
|
839
|
+
define_value_helper :path_to_javascript
|
840
|
+
end
|
841
|
+
|
842
|
+
module PathToStyleSheet
|
843
|
+
extend Phlex::Rails::HelperMacros
|
844
|
+
|
845
|
+
# @!method path_to_stylesheet(...)
|
846
|
+
define_value_helper :path_to_stylesheet
|
847
|
+
end
|
848
|
+
|
849
|
+
module PathToVideo
|
850
|
+
extend Phlex::Rails::HelperMacros
|
851
|
+
|
852
|
+
# @!method path_to_video(...)
|
853
|
+
define_value_helper :path_to_video
|
854
|
+
end
|
855
|
+
|
856
|
+
module PhoneField
|
857
|
+
extend Phlex::Rails::HelperMacros
|
858
|
+
|
859
|
+
# @!method phone_field(...)
|
860
|
+
# @return [nil]
|
861
|
+
define_output_helper :phone_field
|
862
|
+
end
|
863
|
+
|
864
|
+
module PhoneFieldTag
|
865
|
+
extend Phlex::Rails::HelperMacros
|
866
|
+
|
867
|
+
# @!method phone_field_tag(...)
|
868
|
+
# @return [nil]
|
869
|
+
define_output_helper :phone_field_tag
|
870
|
+
end
|
871
|
+
|
872
|
+
module PreloadLinkTag
|
873
|
+
extend Phlex::Rails::HelperMacros
|
874
|
+
|
875
|
+
# @!method preload_link_tag(...)
|
876
|
+
# @return [nil]
|
877
|
+
define_output_helper :preload_link_tag
|
878
|
+
end
|
879
|
+
|
880
|
+
module PhoneTo
|
881
|
+
extend Phlex::Rails::HelperMacros
|
882
|
+
|
883
|
+
# @!method phone_to(...)
|
884
|
+
# @return [nil]
|
885
|
+
define_output_helper_with_capture_block :phone_to
|
886
|
+
end
|
887
|
+
|
888
|
+
module Provide
|
889
|
+
extend Phlex::Rails::HelperMacros
|
890
|
+
|
891
|
+
# @!method provide(...)
|
892
|
+
define_value_helper_with_capture_block :provide
|
893
|
+
end
|
894
|
+
|
895
|
+
module PublicComputeAssetPath
|
896
|
+
extend Phlex::Rails::HelperMacros
|
897
|
+
|
898
|
+
# @!method public_compute_asset_path(...)
|
899
|
+
define_value_helper :public_compute_asset_path
|
900
|
+
end
|
901
|
+
|
902
|
+
module RadioButton
|
903
|
+
extend Phlex::Rails::HelperMacros
|
904
|
+
|
905
|
+
# @!method radio_button(...)
|
906
|
+
# @return [nil]
|
907
|
+
define_output_helper :radio_button
|
908
|
+
end
|
909
|
+
|
910
|
+
module RadioButtonTag
|
911
|
+
extend Phlex::Rails::HelperMacros
|
912
|
+
|
913
|
+
# @!method radio_button_tag(...)
|
914
|
+
# @return [nil]
|
915
|
+
define_output_helper :radio_button_tag
|
916
|
+
end
|
917
|
+
|
918
|
+
module RangeField
|
919
|
+
extend Phlex::Rails::HelperMacros
|
920
|
+
|
921
|
+
# @!method range_field(...)
|
922
|
+
# @return [nil]
|
923
|
+
define_output_helper :range_field
|
924
|
+
end
|
925
|
+
|
926
|
+
module RangeFieldTag
|
927
|
+
extend Phlex::Rails::HelperMacros
|
928
|
+
|
929
|
+
# @!method range_field_tag(...)
|
930
|
+
# @return [nil]
|
931
|
+
define_output_helper :range_field_tag
|
932
|
+
end
|
933
|
+
|
934
|
+
module ResetCycle
|
935
|
+
extend Phlex::Rails::HelperMacros
|
936
|
+
|
937
|
+
# @!method reset_cycle(...)
|
938
|
+
define_value_helper :reset_cycle
|
939
|
+
end
|
940
|
+
|
941
|
+
module RichTextArea
|
942
|
+
extend Phlex::Rails::HelperMacros
|
943
|
+
|
944
|
+
# @!method rich_text_area(...)
|
945
|
+
# @return [nil]
|
946
|
+
define_output_helper :rich_text_area
|
947
|
+
end
|
948
|
+
|
949
|
+
module Sanitize
|
950
|
+
extend Phlex::Rails::HelperMacros
|
951
|
+
|
952
|
+
# @!method sanitize(...)
|
953
|
+
define_value_helper :sanitize
|
954
|
+
end
|
955
|
+
|
956
|
+
module SanitizeCss
|
957
|
+
extend Phlex::Rails::HelperMacros
|
958
|
+
|
959
|
+
# @!method sanitize_css(...)
|
960
|
+
define_value_helper :sanitize_css
|
961
|
+
end
|
962
|
+
|
963
|
+
module SearchField
|
964
|
+
extend Phlex::Rails::HelperMacros
|
965
|
+
|
966
|
+
# @!method search_field(...)
|
967
|
+
# @return [nil]
|
968
|
+
define_output_helper :search_field
|
969
|
+
end
|
970
|
+
|
971
|
+
module SearchFieldTag
|
972
|
+
extend Phlex::Rails::HelperMacros
|
973
|
+
|
974
|
+
# @!method search_field_tag(...)
|
975
|
+
# @return [nil]
|
976
|
+
define_output_helper :search_field_tag
|
977
|
+
end
|
978
|
+
|
979
|
+
module Select
|
980
|
+
extend Phlex::Rails::HelperMacros
|
981
|
+
|
982
|
+
# @!method select(...)
|
983
|
+
# @return [nil]
|
984
|
+
define_output_helper :select
|
985
|
+
end
|
986
|
+
|
987
|
+
module SelectTag
|
988
|
+
extend Phlex::Rails::HelperMacros
|
989
|
+
|
990
|
+
# @!method select_tag(...)
|
991
|
+
# @return [nil]
|
992
|
+
define_output_helper :select_tag
|
993
|
+
end
|
994
|
+
|
995
|
+
module SelectDate
|
996
|
+
extend Phlex::Rails::HelperMacros
|
997
|
+
|
998
|
+
# @!method select_date(...)
|
999
|
+
# @return [nil]
|
1000
|
+
define_output_helper :select_date
|
1001
|
+
end
|
1002
|
+
|
1003
|
+
module SelectDateTime
|
1004
|
+
extend Phlex::Rails::HelperMacros
|
1005
|
+
|
1006
|
+
# @!method select_datetime(...)
|
1007
|
+
# @return [nil]
|
1008
|
+
define_output_helper :select_datetime
|
1009
|
+
end
|
1010
|
+
|
1011
|
+
module SelectDay
|
1012
|
+
extend Phlex::Rails::HelperMacros
|
1013
|
+
|
1014
|
+
# @!method select_day(...)
|
1015
|
+
# @return [nil]
|
1016
|
+
define_output_helper :select_day
|
1017
|
+
end
|
1018
|
+
|
1019
|
+
module SelectHour
|
1020
|
+
extend Phlex::Rails::HelperMacros
|
1021
|
+
|
1022
|
+
# @!method select_hour(...)
|
1023
|
+
# @return [nil]
|
1024
|
+
define_output_helper :select_hour
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
module SelectMinute
|
1028
|
+
extend Phlex::Rails::HelperMacros
|
1029
|
+
|
1030
|
+
# @!method select_minute(...)
|
1031
|
+
# @return [nil]
|
1032
|
+
define_output_helper :select_minute
|
1033
|
+
end
|
1034
|
+
|
1035
|
+
module SelectMonth
|
1036
|
+
extend Phlex::Rails::HelperMacros
|
1037
|
+
|
1038
|
+
# @!method select_month(...)
|
1039
|
+
# @return [nil]
|
1040
|
+
define_output_helper :select_month
|
1041
|
+
end
|
1042
|
+
|
1043
|
+
module SelectSecond
|
1044
|
+
extend Phlex::Rails::HelperMacros
|
1045
|
+
|
1046
|
+
# @!method select_second(...)
|
1047
|
+
# @return [nil]
|
1048
|
+
define_output_helper :select_second
|
1049
|
+
end
|
1050
|
+
|
1051
|
+
module SelectTime
|
1052
|
+
extend Phlex::Rails::HelperMacros
|
1053
|
+
|
1054
|
+
# @!method select_time(...)
|
1055
|
+
# @return [nil]
|
1056
|
+
define_output_helper :select_time
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
module SelectYear
|
1060
|
+
extend Phlex::Rails::HelperMacros
|
1061
|
+
|
1062
|
+
# @!method select_year(...)
|
1063
|
+
# @return [nil]
|
1064
|
+
define_output_helper :select_year
|
1065
|
+
end
|
1066
|
+
|
1067
|
+
module SimpleFormat
|
1068
|
+
extend Phlex::Rails::HelperMacros
|
1069
|
+
|
1070
|
+
# @!method simple_format(...)
|
1071
|
+
# @return [nil]
|
1072
|
+
define_output_helper :simple_format
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
module SMSTo
|
1076
|
+
extend Phlex::Rails::HelperMacros
|
1077
|
+
|
1078
|
+
# @!method sms_to(...)
|
1079
|
+
# @return [nil]
|
1080
|
+
define_output_helper_with_capture_block :sms_to
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
module StripLinks
|
1084
|
+
extend Phlex::Rails::HelperMacros
|
1085
|
+
|
1086
|
+
# @!method strip_links(...)
|
1087
|
+
define_value_helper :strip_links
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
module StripTags
|
1091
|
+
extend Phlex::Rails::HelperMacros
|
1092
|
+
|
1093
|
+
# @!method strip_tags(...)
|
1094
|
+
define_value_helper :strip_tags
|
1095
|
+
end
|
1096
|
+
|
1097
|
+
module StyleSheetLinkTag
|
1098
|
+
extend Phlex::Rails::HelperMacros
|
1099
|
+
|
1100
|
+
# @!method stylesheet_link_tag(...)
|
1101
|
+
# @return [nil]
|
1102
|
+
define_output_helper :stylesheet_link_tag
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
module StyleSheetPath
|
1106
|
+
extend Phlex::Rails::HelperMacros
|
1107
|
+
|
1108
|
+
# @!method stylesheet_path(...)
|
1109
|
+
define_value_helper :stylesheet_path
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
module StyleSheetURL
|
1113
|
+
extend Phlex::Rails::HelperMacros
|
1114
|
+
|
1115
|
+
# @!method stylesheet_url(...)
|
1116
|
+
define_value_helper :stylesheet_url
|
1117
|
+
end
|
1118
|
+
|
1119
|
+
module SubmitTag
|
1120
|
+
extend Phlex::Rails::HelperMacros
|
1121
|
+
|
1122
|
+
# @!method submit_tag(...)
|
1123
|
+
# @return [nil]
|
1124
|
+
define_output_helper :submit_tag
|
1125
|
+
end
|
1126
|
+
|
1127
|
+
module T
|
1128
|
+
extend Phlex::Rails::HelperMacros
|
1129
|
+
|
1130
|
+
# @!method t(...)
|
1131
|
+
define_value_helper :t
|
1132
|
+
end
|
1133
|
+
|
1134
|
+
module TelephoneField
|
1135
|
+
extend Phlex::Rails::HelperMacros
|
1136
|
+
|
1137
|
+
# @!method telephone_field(...)
|
1138
|
+
# @return [nil]
|
1139
|
+
define_output_helper :telephone_field
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
module TelephoneFieldTag
|
1143
|
+
extend Phlex::Rails::HelperMacros
|
1144
|
+
|
1145
|
+
# @!method telephone_field_tag(...)
|
1146
|
+
# @return [nil]
|
1147
|
+
define_output_helper :telephone_field_tag
|
1148
|
+
end
|
1149
|
+
|
1150
|
+
module TextArea
|
1151
|
+
extend Phlex::Rails::HelperMacros
|
1152
|
+
|
1153
|
+
# @!method text_area(...)
|
1154
|
+
# @return [nil]
|
1155
|
+
define_output_helper :text_area
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
module TextAreaTag
|
1159
|
+
extend Phlex::Rails::HelperMacros
|
1160
|
+
|
1161
|
+
# @!method text_area_tag(...)
|
1162
|
+
# @return [nil]
|
1163
|
+
define_output_helper :text_area_tag
|
1164
|
+
end
|
1165
|
+
|
1166
|
+
module TextField
|
1167
|
+
extend Phlex::Rails::HelperMacros
|
1168
|
+
|
1169
|
+
# @!method text_field(...)
|
1170
|
+
# @return [nil]
|
1171
|
+
define_output_helper :text_field
|
1172
|
+
end
|
1173
|
+
|
1174
|
+
module TextFieldTag
|
1175
|
+
extend Phlex::Rails::HelperMacros
|
1176
|
+
|
1177
|
+
# @!method text_field_tag(...)
|
1178
|
+
# @return [nil]
|
1179
|
+
define_output_helper :text_field_tag
|
1180
|
+
end
|
1181
|
+
|
1182
|
+
module TimeAgoInWords
|
1183
|
+
extend Phlex::Rails::HelperMacros
|
1184
|
+
|
1185
|
+
# @!method time_ago_in_words(...)
|
1186
|
+
define_value_helper :time_ago_in_words
|
1187
|
+
end
|
1188
|
+
|
1189
|
+
module TimeField
|
1190
|
+
extend Phlex::Rails::HelperMacros
|
1191
|
+
|
1192
|
+
# @!method time_field(...)
|
1193
|
+
# @return [nil]
|
1194
|
+
define_output_helper :time_field
|
1195
|
+
end
|
1196
|
+
|
1197
|
+
module TimeFieldTag
|
1198
|
+
extend Phlex::Rails::HelperMacros
|
1199
|
+
|
1200
|
+
# @!method time_field_tag(...)
|
1201
|
+
# @return [nil]
|
1202
|
+
define_output_helper :time_field_tag
|
1203
|
+
end
|
1204
|
+
|
1205
|
+
module TimeSelect
|
1206
|
+
extend Phlex::Rails::HelperMacros
|
1207
|
+
|
1208
|
+
# @!method time_select(...)
|
1209
|
+
# @return [nil]
|
1210
|
+
define_output_helper :time_select
|
1211
|
+
end
|
1212
|
+
|
1213
|
+
module TimeTag
|
1214
|
+
extend Phlex::Rails::HelperMacros
|
1215
|
+
|
1216
|
+
# @!method time_tag(...)
|
1217
|
+
# @return [nil]
|
1218
|
+
define_output_helper :time_tag
|
1219
|
+
end
|
1220
|
+
|
1221
|
+
module TimeZoneOptionsForSelect
|
1222
|
+
extend Phlex::Rails::HelperMacros
|
1223
|
+
|
1224
|
+
# @!method time_zone_options_for_select(...)
|
1225
|
+
# @return [nil]
|
1226
|
+
define_output_helper :time_zone_options_for_select
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
module TimeZoneSelect
|
1230
|
+
extend Phlex::Rails::HelperMacros
|
1231
|
+
|
1232
|
+
# @!method time_zone_select(...)
|
1233
|
+
# @return [nil]
|
1234
|
+
define_output_helper :time_zone_select
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
module TokenList
|
1238
|
+
extend Phlex::Rails::HelperMacros
|
1239
|
+
|
1240
|
+
# @!method token_list(...)
|
1241
|
+
define_value_helper :token_list
|
1242
|
+
end
|
1243
|
+
|
1244
|
+
module Translate
|
1245
|
+
extend Phlex::Rails::HelperMacros
|
1246
|
+
|
1247
|
+
# @!method translate(...)
|
1248
|
+
define_value_helper :translate
|
1249
|
+
end
|
1250
|
+
|
1251
|
+
module Truncate
|
1252
|
+
extend Phlex::Rails::HelperMacros
|
1253
|
+
|
1254
|
+
# @!method truncate(...)
|
1255
|
+
define_value_helper :truncate
|
1256
|
+
end
|
1257
|
+
|
1258
|
+
module URLField
|
1259
|
+
extend Phlex::Rails::HelperMacros
|
1260
|
+
|
1261
|
+
# @!method url_field(...)
|
1262
|
+
# @return [nil]
|
1263
|
+
define_output_helper :url_field
|
1264
|
+
end
|
1265
|
+
|
1266
|
+
module URLFieldTag
|
1267
|
+
extend Phlex::Rails::HelperMacros
|
1268
|
+
|
1269
|
+
# @!method url_field_tag(...)
|
1270
|
+
# @return [nil]
|
1271
|
+
define_output_helper :url_field_tag
|
1272
|
+
end
|
1273
|
+
|
1274
|
+
module URLToAsset
|
1275
|
+
extend Phlex::Rails::HelperMacros
|
1276
|
+
|
1277
|
+
# @!method url_to_asset(...)
|
1278
|
+
define_value_helper :url_to_asset
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
module URLToAudio
|
1282
|
+
extend Phlex::Rails::HelperMacros
|
1283
|
+
|
1284
|
+
# @!method url_to_audio(...)
|
1285
|
+
define_value_helper :url_to_audio
|
1286
|
+
end
|
1287
|
+
|
1288
|
+
module URLToFont
|
1289
|
+
extend Phlex::Rails::HelperMacros
|
1290
|
+
|
1291
|
+
# @!method url_to_font(...)
|
1292
|
+
define_value_helper :url_to_font
|
1293
|
+
end
|
1294
|
+
|
1295
|
+
module URLToImage
|
1296
|
+
extend Phlex::Rails::HelperMacros
|
1297
|
+
|
1298
|
+
# @!method url_to_image(...)
|
1299
|
+
define_value_helper :url_to_image
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
module URLToJavaScript
|
1303
|
+
extend Phlex::Rails::HelperMacros
|
1304
|
+
|
1305
|
+
# @!method url_to_javascript(...)
|
1306
|
+
define_value_helper :url_to_javascript
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
module URLToStyleSheet
|
1310
|
+
extend Phlex::Rails::HelperMacros
|
1311
|
+
|
1312
|
+
# @!method url_to_stylesheet(...)
|
1313
|
+
define_value_helper :url_to_stylesheet
|
1314
|
+
end
|
1315
|
+
|
1316
|
+
module URLToVideo
|
1317
|
+
extend Phlex::Rails::HelperMacros
|
1318
|
+
|
1319
|
+
# @!method url_to_video(...)
|
1320
|
+
define_value_helper :url_to_video
|
1321
|
+
end
|
1322
|
+
|
1323
|
+
module UTF8EnforcerTag
|
1324
|
+
extend Phlex::Rails::HelperMacros
|
1325
|
+
|
1326
|
+
# @!method utf8_enforcer_tag(...)
|
1327
|
+
# @return [nil]
|
1328
|
+
define_output_helper :utf8_enforcer_tag
|
1329
|
+
end
|
1330
|
+
|
1331
|
+
module VideoPath
|
1332
|
+
extend Phlex::Rails::HelperMacros
|
1333
|
+
|
1334
|
+
# @!method video_path(...)
|
1335
|
+
define_value_helper :video_path
|
1336
|
+
end
|
1337
|
+
|
1338
|
+
module VideoTag
|
1339
|
+
extend Phlex::Rails::HelperMacros
|
1340
|
+
|
1341
|
+
# @!method video_tag(...)
|
1342
|
+
# @return [nil]
|
1343
|
+
define_output_helper :video_tag
|
1344
|
+
end
|
1345
|
+
|
1346
|
+
module VideoURL
|
1347
|
+
extend Phlex::Rails::HelperMacros
|
1348
|
+
|
1349
|
+
# @!method video_url(...)
|
1350
|
+
define_value_helper :video_url
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
module WeekField
|
1354
|
+
extend Phlex::Rails::HelperMacros
|
1355
|
+
|
1356
|
+
# @!method week_field(...)
|
1357
|
+
# @return [nil]
|
1358
|
+
define_output_helper :week_field
|
1359
|
+
end
|
1360
|
+
|
1361
|
+
module WeekFieldTag
|
1362
|
+
extend Phlex::Rails::HelperMacros
|
1363
|
+
|
1364
|
+
# @!method week_field_tag(...)
|
1365
|
+
# @return [nil]
|
1366
|
+
define_output_helper :week_field_tag
|
1367
|
+
end
|
1368
|
+
|
1369
|
+
module WeekdayOptionsForSelect
|
1370
|
+
extend Phlex::Rails::HelperMacros
|
1371
|
+
|
1372
|
+
# @!method weekday_options_for_select(...)
|
1373
|
+
# @return [nil]
|
1374
|
+
define_output_helper :weekday_options_for_select
|
1375
|
+
end
|
1376
|
+
|
1377
|
+
module WeekdaySelect
|
1378
|
+
extend Phlex::Rails::HelperMacros
|
1379
|
+
|
1380
|
+
# @!method weekday_select(...)
|
1381
|
+
# @return [nil]
|
1382
|
+
define_output_helper :weekday_select
|
1383
|
+
end
|
1384
|
+
|
1385
|
+
module WithOutputBuffer
|
1386
|
+
extend Phlex::Rails::HelperMacros
|
1387
|
+
|
1388
|
+
# @!method with_output_buffer(...)
|
1389
|
+
# @return [nil]
|
1390
|
+
define_output_helper_with_capture_block :with_output_buffer
|
1391
|
+
end
|
1392
|
+
|
1393
|
+
module WordWrap
|
1394
|
+
extend Phlex::Rails::HelperMacros
|
1395
|
+
|
1396
|
+
# @!method word_wrap(...)
|
1397
|
+
define_value_helper :word_wrap
|
158
1398
|
end
|
159
1399
|
end
|