I
I
ivasenkoartem2018-05-06 15:11:34
Ruby on Rails
ivasenkoartem, 2018-05-06 15:11:34

How to fix an error in Rails?

The code:

<%= form_for @post do |f| %>
<div class="form-control">
<%= f.label :title %>
<%= f.text_field :title %>
</div>
<div class="form-control">
<%= f.label :summary %>
<%= f.text_area :summary %>
</div>
<div class="form-control">
<%= f.label :body %>
<%= f.text_area :body %>
</div>
<div class="form-control">
<%= f.sumbit 'Save' %>
</div>
<% end %>

Mistake:
5aeef0e645f00236587096.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
blackst0ne, 2018-05-06
@ivasenkoartem

su bm it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question