@@ -1226,10 +1226,6 @@ def #{selector}(method, options = {}) # def text_field(method, options = {})
1226
1226
RUBY_EVAL
1227
1227
end
1228
1228
1229
- # Instructions for this +method+ can be found in this documentation.
1230
- # For reusability and delegation reasons, various +methods+ have equal names.
1231
- # Please, look up the next +method+ with this name
1232
- #
1233
1229
def fields_for ( record_name , record_object = nil , fields_options = { } , &block )
1234
1230
fields_options , record_object = record_object , nil if record_object . is_a? ( Hash ) && record_object . extractable_options?
1235
1231
fields_options [ :builder ] ||= options [ :builder ]
@@ -1259,43 +1255,23 @@ def fields_for(record_name, record_object = nil, fields_options = {}, &block)
1259
1255
@template . fields_for ( record_name , record_object , fields_options , &block )
1260
1256
end
1261
1257
1262
- # Instructions for this +method+ can be found in this documentation.
1263
- # For reusability and delegation reasons, various +methods+ have equal names.
1264
- # Please, look up the next +method+ with this name
1265
- #
1266
1258
def label ( method , text = nil , options = { } , &block )
1267
1259
@template . label ( @object_name , method , text , objectify_options ( options ) , &block )
1268
1260
end
1269
1261
1270
- # Instructions for this +method+ can be found in this documentation.
1271
- # For reusability and delegation reasons, various +methods+ have equal names.
1272
- # Please, look up the next +method+ with this name
1273
- #
1274
1262
def check_box ( method , options = { } , checked_value = "1" , unchecked_value = "0" )
1275
1263
@template . check_box ( @object_name , method , objectify_options ( options ) , checked_value , unchecked_value )
1276
1264
end
1277
1265
1278
- # Instructions for this +method+ can be found in this documentation.
1279
- # For reusability and delegation reasons, various +methods+ have equal names.
1280
- # Please, look up the next +method+ with this name
1281
- #
1282
1266
def radio_button ( method , tag_value , options = { } )
1283
1267
@template . radio_button ( @object_name , method , tag_value , objectify_options ( options ) )
1284
1268
end
1285
1269
1286
- # Instructions for this +method+ can be found in this documentation.
1287
- # For reusability and delegation reasons, various +methods+ have equal names.
1288
- # Please, look up the next +method+ with this name
1289
- #
1290
1270
def hidden_field ( method , options = { } )
1291
1271
@emitted_hidden_id = true if method == :id
1292
1272
@template . hidden_field ( @object_name , method , objectify_options ( options ) )
1293
1273
end
1294
1274
1295
- # Instructions for this +method+ can be found in this documentation.
1296
- # For reusability and delegation reasons, various +methods+ have equal names.
1297
- # Please, look up the next +method+ with this name
1298
- #
1299
1275
def file_field ( method , options = { } )
1300
1276
self . multipart = true
1301
1277
@template . file_field ( @object_name , method , objectify_options ( options ) )
0 commit comments