<div class='ms-dashboard-content' id='tophat__list__user_hrn'>
<div id="main">
<div id="middle">
- <form id="editForm" method="POST" action="#" enctype="multipart/form-data">
+ <form id="editForm" method="POST" action="acc_process" enctype="multipart/form-data">
+ {% csrf_token %}
<table class="profile">
<tr class="odd">
<td colspan="2">
<button type="button" class="cancel" title="Cancel" id="cancel_upload"> Cancel </button>
<div style='display:none;'>
<input type='hidden' name='upload' /></div>
- <input type="file" name="pubkey" id="pubkey"/>
+ <input type="file" name="pubkey" class="required" id="pubkey"/>
<button name="upload_key" id="upload_key" type="submit" title="Delete your private key">Upload </button>