Skip to content
Browse files

add docs for suppressing the labels for all fragments in Timeish

  • Loading branch information...
1 parent 9dbb8e5 commit 884140878c1c5fe5c3d582abd62976e311994055 @jpmckinney jpmckinney committed Jul 6, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/formtastic/inputs/base/timeish.rb
View
3 lib/formtastic/inputs/base/timeish.rb
@@ -65,6 +65,9 @@ module Base
# @example Change the labels for each fragment
# <%= f.input :publish_at, :as => :date_select, :labels => { :year => "Y", :month => "M", :day => "D" } %>
#
+ # @example Suppress the labels for all fragments
+ # <%= f.input :publish_at, :as => :date_select, :labels => false %>
+ #
# @example Skip a fragment (defaults to 1, skips all following fragments)
# <%= f.input :publish_at, :as => :datetime_select, :discard_minute => true %>
# <%= f.input :publish_at, :as => :datetime_select, :discard_hour => true %>

0 comments on commit 8841408

Please sign in to comment.
Something went wrong with that request. Please try again.