2018-09-01 23:47:41 +00:00
|
|
|
<% params["action"] = "Add contact" %>
|
2018-08-31 14:06:42 +00:00
|
|
|
|
2018-09-01 23:47:41 +00:00
|
|
|
<div class="center-screen">
|
|
|
|
<div class="align-center">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-offset-2 col-xs-8 col-xs-offset-2">
|
|
|
|
<h2>Enter an email address:</h2>
|
|
|
|
</div>
|
|
|
|
<%= simple_form_for User.new, url: connections_path, class: "input-group" do |f| %>
|
|
|
|
<div class="col-xs-offset-2 col-xs-8 col-xs-offset-2 ">
|
|
|
|
<div class="flex-inline">
|
|
|
|
<%= f.input_field :email, class: "form-control margin-right" %>
|
|
|
|
<div class="input-group-append">
|
|
|
|
<%= f.button :submit, value: "Add Contact" , class: "btn btn-primary" %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-08-31 14:06:42 +00:00
|
|
|
</div>
|