1 <div class="modal-header">
2 <h3 id="myModalLabel">Information you had already provided is prefilled for you. You may change it as needed.</h3>
5 <div class="modal-body">
6 <%= uuid = @object.uuid %>
7 <%= disable_email = @object.uuid? %>
8 <%= form_tag setup_user_url(id: uuid), method: 'get', remote: true, class: 'form-search' do %>
12 <% if disable_email %>
14 <td> <input id="email" maxlength="250" name="email" type="text" disabled=<%=disable_email%> > </td>
17 <td> <input id="email" maxlength="250" name="email" type="text" > </td>
21 <% if disable_email %>
22 <td> Openid Prefix : </td>
23 <td> <input id="openid_prefix" maxlength="250" name="openid_prefix" type="text" disabled=<%=disable_email%> > </td>
25 <td> Openid Prefix : </td>
26 <td> <input id="openid_prefix" maxlength="250" name="openid_prefix" type="text"> </td>
30 <td> Repository Name : </td>
31 <td> <input id="repo_name" maxlength="250" name="repo_name" type="text">
34 <td> Virtual Machine : </td>
36 <select name="vm_uuid">
37 <% @vms.each do |vm| %>
38 <option value=<%=vm.uuid%> > <%=vm.hostname%> </option>
46 <button type="submit" class="btn">Submit</button>
47 <button class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>