D
D
Dmitry2018-12-02 20:34:07
Ruby on Rails
Dmitry, 2018-12-02 20:34:07

How to display the result of form_with operation?

I'm trying to understand all this... How can I make the text in the input field appear in the browser as a result of the output of the variable? Here's what I have in the code
5c03ff7c2f382151816756.jpeg
. The result of this - there is a form in the browser but when you click on Submit, nothing happens ... Where am I wrong? I want to implement this without a model at all. For several days I have been reading the docks on the forms ... something is going hard ((

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
N. Bekseitov, 2018-12-03
@nbekseitov

= form_with url: '/show', method: :get do |f|

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question