Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

EJS ViewHelpers

$
0
0

I am attempting to use the link_to EJS view helper (ACS version 1.0.14) , but the response I get is

5|        <% for(var i=0; i<places.length; i++){%>
  6|            <tr>
 >> 7|              <td><%= link_to(places[i].name, 'user/' + places[i].user.id) %></td>
    8|              <td>-</td>
    9|          </tr>
    10|         <% } %> 
link_to is not defined
have also tried a 'simple'
<%= submit_tag('Submit') %>
and also get a submit_tag is not defined.

Is there something I need to do to enable the ViewHelpers or are they not available?

Thanks,


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>