Skip to content

Commit c3518b4

Browse files
committed
Fix markup in RDoc [ci skip]
1 parent caac731 commit c3518b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actionview/lib/action_view/helpers/form_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,7 @@ def date_field(object_name, method, options = {})
14081408
# Returns a text_field of type "time".
14091409
#
14101410
# The default value is generated by trying to call +strftime+ with "%T.%L"
1411-
# on the object's value. If you pass "include_seconds: false", it will be
1411+
# on the object's value. If you pass <tt>include_seconds: false</tt>, it will be
14121412
# formatted by trying to call +strftime+ with "%H:%M" on the object's value.
14131413
# It is also possible to override this by passing the "value" option.
14141414
#
@@ -1432,7 +1432,7 @@ def date_field(object_name, method, options = {})
14321432
# # => <input id="task_started_at" name="task[started_at]" type="time" min="01:00:00.000" />
14331433
#
14341434
# By default, provided times will be formatted including seconds. You can render just the hour
1435-
# and minute by passing `include_seconds: false`. Some browsers will render a simpler UI
1435+
# and minute by passing <tt>include_seconds: false</tt>. Some browsers will render a simpler UI
14361436
# if you exclude seconds in the timestamp format.
14371437
#
14381438
# time_field("task", "started_at", value: Time.now, include_seconds: false)

0 commit comments

Comments
 (0)