From 66d6cab9874e599bd4bde946a9a699b1aa17a737 Mon Sep 17 00:00:00 2001 From: "shingo.nakanishi" Date: Thu, 17 Sep 2015 17:06:54 +0900 Subject: Fixed helpers submit button Examples [ci skip] --- actionview/lib/action_view/helpers/form_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionview') diff --git a/actionview/lib/action_view/helpers/form_helper.rb b/actionview/lib/action_view/helpers/form_helper.rb index 3a9acafaa2..8c7ba8814e 100644 --- a/actionview/lib/action_view/helpers/form_helper.rb +++ b/actionview/lib/action_view/helpers/form_helper.rb @@ -1881,7 +1881,7 @@ module ActionView # # ==== Examples # button("Create a post") - # # => + # # => # # button do # content_tag(:strong, 'Ask me!') -- cgit v1.2.3 From 30eabcb9216ca31ddc6169dc01839672f86d8ce2 Mon Sep 17 00:00:00 2001 From: "shingo.nakanishi" Date: Thu, 17 Sep 2015 23:18:22 +0900 Subject: No need the `a` --- actionview/lib/action_view/helpers/form_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionview') diff --git a/actionview/lib/action_view/helpers/form_helper.rb b/actionview/lib/action_view/helpers/form_helper.rb index 8c7ba8814e..ebf5ea5b77 100644 --- a/actionview/lib/action_view/helpers/form_helper.rb +++ b/actionview/lib/action_view/helpers/form_helper.rb @@ -1880,8 +1880,8 @@ module ActionView # create: "Add %{model}" # # ==== Examples - # button("Create a post") - # # => + # button("Create post") + # # => # # button do # content_tag(:strong, 'Ask me!') -- cgit v1.2.3