Skip to content

Instantly share code, notes, and snippets.

@vybs
Created December 9, 2011 01:44
Show Gist options
  • Save vybs/1449726 to your computer and use it in GitHub Desktop.
Save vybs/1449726 to your computer and use it in GitHub Desktop.
add position
<div class="guided-edit">
{>_close_action/}
{<closeText}{i18n_text_plain__close}{/closeText}
{?firstTaskTitleString}
<h1>{firstTaskTitleString|s}</h1>
{/firstTaskTitleString}
<form class="standard-form" id="{name}_id" name="{name}" method="{method}" action="{action}">
<fieldset>
<legend>{i18n_text_plain__what_is_your_industry}</legend>
<ul>
<li>
{#industryChooser choose=i18n__text_plain__choose}
{>singleSelect/}
{/industryChooser}
</li>
</ul>
{>action_params/}
{<saveText}{i18n__text_plain__save}{/saveText}
{<skipText}{i18n__text_plain__skip}{/skipText}
{>_guided_edit_flow_hidden/}
</fieldset>
</form>
{>_guided_edit_flow/}
</div>
@lucassaldanha
Copy link

@amlanc - this can be achieved parsing dust.js template with Node.JS in the server-side. After that you can send to the client-side the result. I could user Rhino for parsing too.

Check the section: Leaving JSPs in the dust, the fifth topic, Server side support.
http://engineering.linkedin.com/frontend/leaving-jsps-dust-moving-linkedin-dustjs-client-side-templates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment