title: Very basic eruby form issue: Cannot get submit button to do anything
body: <p>This is in my .erb file:</p>
  
  <pre><code>&lt;form  method="post" action="/login" id="login" enctype="text/plain"&gt; 
  Username: &lt;input type="text" id="username" placeholder="Enter username here"&gt;
  Password: &lt;input type="password" id="password" placeholder="Enter password here"&gt;
  &lt;%= @error (will display if wrong) %&gt;
  &lt;input TYPE="button" VALUE="Submit" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>And this is in my .rb file:</p>
  
  <pre><code>post '/login' do
    #connects to database
    if #connection successful
      # does something
    else
      #do something else
    end
  end
  </code></pre>
  
  <p>However, when I try to click my "Submit" button to log in, nothing happens. Originally I was connecting to a database and checking for info, but after that I was just trying to set an error message to be a certain value, and even that won't work. I know this is something silly I'm missing. What piece is not there? (Using Postgres with Eruby, and it's running on Heroku.)</p>