Jeff-Lewis / nhaml

Automatically exported from code.google.com/p/nhaml
0 stars 0 forks source link

Fulent Html #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What will be the equivalent nhaml code for the following web form code:

<%  Html.jQuery().Accordion().Name("navigation")
    .Items(parent =>
                   {
                       parent.Add()
                           .Text("Accordion")
                           .Content(() => 
                                            {%>
                                                <ul>
                                                    <li>
                                                        <%=
Html.ActionLink("Basic example", "Basic", "Accordion")%></li>             

                                                </ul>
                                            <%}
                                    ); 
                   } 
          )
    .Render(); %>

Original issue reported on code.google.com by shimulsays@gmail.com on 28 Jul 2009 at 6:03

GoogleCodeExporter commented 9 years ago
- Html.jQuery().Accordion().Name("navigation").Items() (parent) =>
  - parent.Add().Text("Accordion").Content() () =>
    %ul
      %li= Html.ActionLink("Basic example", "Basic", "Accordion").Render()

Original comment by simon.cropp@gmail.com on 2 Aug 2009 at 10:37

GoogleCodeExporter commented 9 years ago

Original comment by simon.cropp@gmail.com on 28 Aug 2009 at 7:44