views/palindrome_form.erb (5 lines of code) (raw):
<form id="palindrome_tester" action="/check" method="post">
<textarea name="phrase" rows="10" cols="60"></textarea>
<br>
<button class="form-submit" type="submit">Is it a palindrome?</button>
</form>