title: play framework call helper function from another template
body: <p>I have a helper file utils.scala.html which looks like below:</p>
  
  <pre><code>@renderTableRow(columnTag: String, columns: Seq[String]) = {
  &lt;tr&gt;
  @for(column &lt;- columns) {
      &lt;@columnTag&gt;
          @column
      &lt;/@columnTag&gt;
  }
  &lt;/tr&gt;
  }
  </code></pre>
  
  <p>I want to call this helper function from rest of my view files to create table headers. </p>
  
  <pre><code>@import views.html.mycommon.utils
  
  @renderQuotesTable() = {
  &lt;table class="table table-bordered table-striped"&gt;
    &lt;thead&gt;
         @utils.renderTableRow("th", Seq("Name", "Date of Birth", "Age"))
    &lt;/thead&gt;
    &lt;tbody&gt;
    &lt;/tbody&gt;
  </code></pre>
  
  <p>
  }</p>
  
  <p>But, I get the following the error</p>
  
  <p>value renderTableRow is not a member of object views.html.mycommon.utils.</p>
  
  <p>what am I missing here?</p>