Users using the Tequila login are invited to migrate to gitlab.epfl.ch. This instance will close for Tequila users by May 2020.

Commit 8b0eb10b authored by Timothée Floure's avatar Timothée Floure

Fix "archive request button" when creating new members

parent bb659d11
Pipeline #1121 passed with stages
in 23 minutes and 49 seconds
......@@ -8,14 +8,13 @@
<% if id && not archived %>
<form method="POST" action="/archive_registration/<% id %>">
<p>
</p>
<button type="submit" class="btn btn-outline-secondary btn-block">Archive this request &raquo;</button>
</form>
<% end %>
<% if archived %>
<div class="message">
This registraton request has been archived.
<div class="alert alert-info" role="alert">
This registraton request has been archived.
</div>
<% end %>
......@@ -33,7 +32,7 @@
<div class="col-6">
<div class="form-group">
<label for="last_name">Last name</label>
<input type="text" name="first_name" class="form-control" value="<% last_name %>"/>
<input type="text" name="last_name" class="form-control" value="<% last_name %>"/>
</div>
</div>
</div>
......@@ -179,14 +178,5 @@
<input type="hidden" name="registration_id" value="<% id %>" />
<% end %>
<div class="container">
<div class="row">
<div class="col-6 padding-sm-left">
<button type="submit" class="btn btn-outline-secondary btn-block btn-lg">Archive this request</button>
</div>
<div class="col-6 padding-sm-right">
<button type="submit" class="btn btn-outline-primary btn-block btn-lg">Create new member &raquo;</button>
</div>
</div>
</div>
<button type="submit" class="btn btn-outline-primary btn-block btn-lg">Create new member &raquo;</button>
</form>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment