title: Can the Liquid Ruby template engine deal with Rails forms?
body: <p>I've been searching for a template engine to allow users to create lessons and exercises online easily.<br><br>Seems like <a href="http://liquidmarkup.org/" rel="nofollow">Liquid</a> is the most popular for use in Rails. Can Liquid users easily create rails forms?</p>
  
  <p>Normally I create forms in ERB with:</p>
  
  <pre><code>&lt;%= form_for(@lesson) do |f| %&gt;
    &lt;% if @lesson.errors.any? %&gt;
      &lt;div id="error_explanation"&gt;
        &lt;h2&gt;&lt;%= pluralize(@lesson.errors.count, "error") %&gt; prohibited this lesson from being saved:&lt;/h2&gt;
  
        &lt;ul&gt;
        &lt;% @lesson.errors.full_messages.each do |msg| %&gt;
          &lt;li&gt;&lt;%= msg %&gt;&lt;/li&gt;
        &lt;% end %&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
    &lt;% end %&gt;
    &lt;div&gt;lots of fields&lt;/div&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>Rails will automatically insert the CSRF protection stuff among other things. Can I do the same with Liquid? Can I create filters, tags and/or blocks in Liquid to emulate Rails form tags?</p>