24 lines
793 B
Plaintext
24 lines
793 B
Plaintext
<% params["action"] = "Add contact" %>
|
|
|
|
<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>
|
|
</div>
|