Fix- generate proper HTML
    Previously html attributes is put inside the "html" option which was generating wrong html
      <form html="{:role= \"form\";, :class=\"form-inline\"}" accept-charset="UTF-8" action="/projects" method="post">
      </form>
   Now I removed the html options and passed html attributes directly:
      <form accept-charset="UTF-8" action="/projects" class="form-inline" method="post" role="form">
      </form>