From 4db09e6f6c7865d6a5c74e9a04b5e74a3c6fe016 Mon Sep 17 00:00:00 2001 From: Kuldeep Aggarwal Date: Mon, 16 Jun 2014 23:05:11 +0530 Subject: [ci skip] correct output for asset_helper methods see cc255d3 --- actionview/lib/action_view/helpers/form_tag_helper.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'actionview/lib/action_view/helpers/form_tag_helper.rb') diff --git a/actionview/lib/action_view/helpers/form_tag_helper.rb b/actionview/lib/action_view/helpers/form_tag_helper.rb index 9c0c43d096..b18f578183 100644 --- a/actionview/lib/action_view/helpers/form_tag_helper.rb +++ b/actionview/lib/action_view/helpers/form_tag_helper.rb @@ -508,19 +508,19 @@ module ActionView # # ==== Examples # image_submit_tag("login.png") - # # => + # # => # # image_submit_tag("purchase.png", disabled: true) - # # => + # # => # # image_submit_tag("search.png", class: 'search_button', alt: 'Find') - # # => + # # => # # image_submit_tag("agree.png", disabled: true, class: "agree_disagree_button") - # # => + # # => # # image_submit_tag("save.png", data: { confirm: "Are you sure?" }) - # # => + # # => def image_submit_tag(source, options = {}) options = options.stringify_keys tag :input, { "alt" => image_alt(source), "type" => "image", "src" => path_to_image(source) }.update(options) -- cgit v1.2.3