Simple End-of-input Error - Rails Form -
i'm getting syntax error, unexpected keyword_ensure, expecting end-of-input
error. checked other posts had same problem have no if or conditional statement needs closing. simple form_tag believe closed field tags sporadically spread throughout code. great appreciated! thank you!
<%= render 'partials/header' %> <%= render :partial => "partials/feature", locals: {type: @full_feature} %> <div id="fineart-full-page"> <div id="search-panel"> <% form_tag('/fineart', method: :get) %> <div id="top-round"> </div> <div id="main-row"> <div id="column-1"> <div id="row-1"> power search </div> <div id="row-2"> <%= text_field_tag 'q' %> </div> <div id="row-3"> search keyword, title, artist,<br>subject, location, & jtg# </div> </div> <div id="column-2"> <%= submit_tag %> </div> </div> <div id="bottom-round"> </div> <% end %> </div> </div>
your form_tag
missing do
should follow when specifying code block. should so:
<% form_tag('/fineart', method: :get) %> .... <% end %>
hope helps!
Comments
Post a Comment