No need the a
This commit is contained in:
parent
66d6cab987
commit
30eabcb921
@ -1880,8 +1880,8 @@ def submit(value=nil, options={})
|
||||
# create: "Add %{model}"
|
||||
#
|
||||
# ==== Examples
|
||||
# button("Create a post")
|
||||
# # => <button name='button' type='submit'>Add post</button>
|
||||
# button("Create post")
|
||||
# # => <button name='button' type='submit'>Create post</button>
|
||||
#
|
||||
# button do
|
||||
# content_tag(:strong, 'Ask me!')
|
||||
|
Loading…
Reference in New Issue
Block a user