projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Submit
[arvados.git]
/
apps
/
workbench
/
app
/
views
/
users
/
_setup_popup.html.erb
diff --git
a/apps/workbench/app/views/users/_setup_popup.html.erb
b/apps/workbench/app/views/users/_setup_popup.html.erb
index a1c3f8adc3649681acbcf662e888ec1248fc95fb..e8a804397af2f51566c102c0f2eed9b49c90eb9e 100644
(file)
--- a/
apps/workbench/app/views/users/_setup_popup.html.erb
+++ b/
apps/workbench/app/views/users/_setup_popup.html.erb
@@
-1,3
+1,6
@@
+<%= form_tag setup_user_path, {id: 'setup_form', name: 'setup_form', method: 'get',
+ class: 'form-search', remote: true} do %>
+
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 class="modal-title">Setup User</h4>
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 class="modal-title">Setup User</h4>
@@
-13,12
+16,10
@@
<% disable_url_prefix = identity_url_prefix != nil %>
<% selected_repo = @current_selections[:repo_name] %>
<% selected_vm = @current_selections[:vm_uuid] %>
<% disable_url_prefix = identity_url_prefix != nil %>
<% selected_repo = @current_selections[:repo_name] %>
<% selected_vm = @current_selections[:vm_uuid] %>
-
- <%= form_tag setup_user_path, {id: 'setup_form', name: 'setup_form', method: 'get',
- class: 'form-search', remote: true} do %>
+
<input id="user_uuid" maxlength="250" name="user_uuid" type="hidden" value="<%=uuid%>">
<div>
<input id="user_uuid" maxlength="250" name="user_uuid" type="hidden" value="<%=uuid%>">
<div>
- <table><tbody>
+ <table><tbody>
<div class="form-group">
<tr>
<% if disable_email %>
<td> Email </td>
<tr>
<% if disable_email %>
<td> Email </td>
@@
-63,9
+64,8
@@
</select>
</td>
</tr>
</select>
</td>
</tr>
- </tbody></table>
+ </
div></
tbody></table>
</div>
</div>
- <% end %>
</div>
<div class="modal-footer">
</div>
<div class="modal-footer">
@@
-73,6
+73,8
@@
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Cancel</button>
</div>
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Cancel</button>
</div>
+<% end %>
+
<script>
var $input = $('input:text'),
$register = $('#register');
<script>
var $input = $('input:text'),
$register = $('#register');