Oops! Why this method is here? 💣

This commit is contained in:
Rafael Mendonça França 2011-08-30 23:05:33 -03:00
parent 666a773fd1
commit 6e6c8c03be
1 changed files with 1 additions and 5 deletions

View File

@ -18,11 +18,7 @@ module SimpleForm
end
def has_placeholder?
(text? || password?) && placeholder_present?
end
def password?
input_type == :password
text? && placeholder_present?
end
def text?