我创建了一个表单。
在该表单的样式表中,我这样做了:
.boxPerson{
margin-left: 20px;
}
在我看来:
<div class="boxPerson">
<p>
<%= f.label :uebung_name, "Name" %> <br />
<%= f.text_field :uebung_name %>
<%= f.label :beschreibung, "Beschreibung" %> <br />
<%= f.text_field :beschreibung %>
<%= f.check_box :_destroy %>
<%= f.label :_destroy, "Remove Question" %>
</p>
</div>
Rails 不适用于我的 CSS。怎么了?