Skip to content

Commit

Permalink
Remove unnecessary whitespace in options_for_select docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gazler committed Sep 13, 2023
1 parent f776666 commit af43dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phoenix_html/form.ex
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ defmodule Phoenix.HTML.Form do
options_for_select(["Admin": "admin", "User": "user", "Moderator": "moderator"],
["admin", "moderator"])
#=> <option value="admin" selected>Admin</option>
#=> <option value="user" >User</option>
#=> <option value="user">User</option>
#=> <option value="moderator" selected>Moderator</option>
Groups are also supported:
Expand Down

0 comments on commit af43dc0

Please sign in to comment.