RSS Git Download  Clone
Raw Blame History
  [% META title = 'Resources » Check New Terms' -%]
<!-- BEGIN [% template.title %] -->
  
  [% # PROCESS dumper.tt dump = words %]

	<h2 class="header">New dictionary terms</h2>
    
    [% IF words.size %]
    <form action="[% app_url %]/resources/update_user_dictionary" method="post"
          name="words">
        <table class="indent">
            <tr>
                <th colspan="3">New Terms</th>
            </tr>
          [% FOREACH word IN words %]
              <tr>
                <td>[% loop.count %]</td>
                <td>[% word %]</td>
                <td><input type="checkbox" name="word" value="[% word %]" /></td>
              </tr>
          [% END %]
           <tr class="borderless">
            <td align="right" colspan="3">
                <input type="button" name="CheckAll" value="Select all"
                  onClick="checkAll(document.words.word)" />
                <input type="button" name="UnCheckAll" value="Clear all"
                  onClick="uncheckAll(document.words.word)" />
                [% site.html.submit %] [% site.html.reset %]
            </td>
           </tr>
        </table>
    </form>
    [% ELSE %]
        <p class="info indent">No new words to add</p>
    [% END %]
<!-- END [% template.title %] -->