is it possible to use <% erlyweb_html:input("category_id", select,
Options, "volvo") %> to generate a select statement like this :
<select>
  <option value="volvo">Volvo</option>
  <option value="saab">Saab</option>
  <option value="mercedes">Mercedes</option>
  <option value="audi">Audi</option>
</select>

By looking at  erlyweb_html.et ,  i can see that option doesn't take a
value param
<%@ option(Name, Name) %>
<option selected><% Name %></option>

<%@ option(Name, _Val) %>
<option><% Name %></option>

I can create my own helper, but just wondering if it was created this
way for a reason ...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to