Fork me on GitHub

tags

An article by Gaspard Bucher

Enter the context of the list of tags.

Enter the context of the list of tags.

<r:tags do='each' join=',' do='link' cat='[name]'/>

<!-- ajax add / remove tags -->
<r:form update='tags' done='$("node_tag").clear()'>
  <r:input id='node_tag' name='tag'/>
</r:form>
<div id='tags' do='block' do='tags'>
  <span do='each' join=', '>
    <r:show attr='name'/><r:unlink/>
  </span>
</div>

The tag’s name is shown using the attribute ‘name’.

See tags announcement and Improved tags for more.