What is wrong with my code ?
I’ve tried hundreds of times and not step over 7.5
this is my code:
<%= form_for(@destination) do |f| %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :description %>
<%= f.text_area :description %>
<%= f.submit “Update” %>
<% end %>
line 3 try with text_area rather than text_field
nope, does not work, the type of field would not necessarily be a problem
Maybe help u
<%= form_for(@destination) do |f| %>
<div class="field">
<%= f.label :destination %><br>
<%= f.text_area :name %>
<%= f.text_area :description %>
</div>
<div class="actions">
<%= f.submit "Update" %>
</div>
<% end %>
there is no way to make it work, I don’t understand
After thousand times, i restart the exercise, in the first try, it works!!
zystvan
closed
#7
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.