Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想让我的 password_fields 的样式与蓝图框架的输入字段默认样式相同。为此,我需要在我的 .sass 中添加什么?
Found it.
need to append a class to the input in the HAML
= f.password_field :password, :class => 'text'