~peter-kovac11/play/play-scala-console-improvements

« back to all changes in this revision

Viewing changes to samples-and-tests/yabe-with-scala/app/views/Posts/show.html

  • Committer: guillaume
  • Date: 2009-11-11 17:19:54 UTC
  • Revision ID: guillaume@macbook-pro-de-guillaume.local-20091111171954-1z761dqr0aw93747
yabe-with-scala

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
                        }
35
35
                    </script>
36
36
                    <div class="tags-list">
37
 
                        #{list items:models.Tag.findAll(), as:'tag'}
 
37
                        #{list items:models.Tag.findAll(), as:'tag'} 
38
38
                           <span id="${tag.id}" onclick="toggle(this)" class="tag ${object.tags.contains(tag) ? 'selected' : ''}">${tag}</span> 
39
39
                           <input id="h${tag.id}" type="hidden" name="${fieldName}" value="${object.tags.contains(tag) ? tag.id : ''}" />
40
40
                        #{/list}