Skip to content

Instantly share code, notes, and snippets.

@milin
Created August 16, 2011 23:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save milin/1150408 to your computer and use it in GitHub Desktop.
Save milin/1150408 to your computer and use it in GitHub Desktop.
<div style='display:none;'>
<h1>Invite Testers</h1>
<div id='colorbox-form-internal'>
<h1>Invite Internal Testers</h1>
<div style="text-align:center; margin-top:20px">
<form id='internal-invite' data-dojo-type='Form' data-dojo-props="method:'post', action:'{% url invitations_internal_app_access app.id %}',
enctype:'multipart/form-data'">
{% csrf_token %}
<script type="text/javascript" src="{{STATIC_URL}}js/selectall.js"></script>
<input name="checkall" onclick="checkUncheckAll(this);"type="checkbox" /> <b> Select All </b>
<br>
<br>
<br>
<table>
{% for username_id, username_label in iform.username.field.choices %}
<section>
<input type="checkbox" name="username" value={{username_id}}> &nbsp <b>{{username_label}}</b>
</section>
{% endfor %}
</table>
<span> {{iform.as_p}} </span>
<input type='submit' value='Invite' id='invite-tester-button' />
</form>
</div>
</div>
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment