PageRenderTime 31ms CodeModel.GetById 26ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/www/dsp/edit-group-members.dsp

http://github.com/cgay/wiki
Unknown | 59 lines | 57 code | 2 blank | 0 comment | 0 complexity | 2357432f9ac09c004bfc2cda9e649413 MD5 | raw file
 1<%dsp:include url="xhtml-start.dsp"/>
 2<%dsp:taglib name="wiki"/>
 3<head>
 4  <title>Dylan Wiki: Change Members of <dsp:get name="group-name"/></title>
 5  <%dsp:include url="meta.dsp"/>
 6</head>
 7<body>
 8  <%dsp:include url="header.dsp"/>
 9  <div id="midsection">
10    <div id="navigation">
11      <wiki:include-page title="Wiki Left Nav"/>
12    </div>
13    <%dsp:include url="group-options-menu.dsp"/>
14    <div id="content">
15      <h2>Change Members of <a href="<wiki:base/>/group/view/<dsp:get name='group-name'/>"><dsp:get name='group-name'/></a></h2>
16
17      <dsp:show-page-errors/>
18      <dsp:show-page-notes/>
19
20      <form action="<wiki:base/>/group/members/<dsp:get name="group-name"/>" method="post">
21        <fieldset>
22          <table>
23            <tr>
24              <td id="users-item">
25                <label id="users-label" for="users-list">Users:</label>
26                <select id="users-list" name="users" multiple="multiple">
27                  <dsp:loop over="non-members" context="page" var="user-name">
28                    <option><dsp:get name="user-name"/></option>
29                  </dsp:loop>
30                </select>
31              </td>
32              <td id="members-item">
33                <label id="members-label" for="members-list">Members:</label>
34                <select id="members-list" name="members" multiple="multiple">
35                  <dsp:loop over="group-members" var="user-name" context="page">
36                    <option><dsp:get name="user-name"/></option>
37                  </dsp:loop>
38                </select>
39              </td>
40            </tr>
41            <tr>
42              <td><input type="submit" name="add" value="Add" /></td>
43              <td><input type="submit" name="remove" value="Remove" /></td>
44            </tr>
45            <tr>
46              <td id="comment-item" colspan="2">
47                <label id="comment-label" for="comment-input">Comment:</label>
48                <input id="comment-input" type="text" name="comment"
49                       value="<dsp:get name='comment' context='request'/>"/>
50              </td>
51            </tr>
52          </table>
53        </fieldset>
54      </form>
55    </div>
56  </div>
57  <%dsp:include url="footer.dsp"/>
58</body>
59</html>