私はスリムのドキュメントを見ましたが、スリムでこれを行う方法をまだ理解できません:
<%= form_for([@post, @post.comments.build]) do |f| %>
<div class="field">
<%= f.label :commenter %><br />
<%= f.text_field :commenter %>
</div>
<div class="field">
<%= f.label :body %><br />
<%= f.text_area :body %>
</div>
<div class="actions">
<%= f.submit %>
</div>
<% end %>
私はこのように最初の行を翻訳しようとします
= form_for([@post, @post.reviews.build]) do |f|
しかし、構文エラーが発生します。