Restyling new contact
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
31ed66b1f5
commit
74602215f3
@ -1,36 +1,39 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<div class="flex-row flex-center">
|
||||
<div class=".flex-column flex-center">
|
||||
<h1>New Contact</h1>
|
||||
|
||||
|
||||
<form action="/contacts/new" method="post">
|
||||
<form class="width-375-px" action="/contacts/new" method="post">
|
||||
<fieldset>
|
||||
<legend>Contact Values</legend>
|
||||
<p>
|
||||
<label for="email">Email</label>
|
||||
<input name="email" id="email" type="email" placeholder="Email">
|
||||
<span class="error">{{ errors.get('email','') }}</span>
|
||||
<input class="width-100" name="email" id="email" type="email" placeholder="Email">
|
||||
<span class="error font-red">{{ errors.get('email','') }}</span>
|
||||
</p>
|
||||
<p>
|
||||
<label for="first_name">First Name</label>
|
||||
<input name="first_name" id="first_name" type="text" placeholder="First Name">
|
||||
<span class="error">{{ errors.get('first_name','') }}</span>
|
||||
<input class="width-100" name="first_name" id="first_name" type="text" placeholder="First Name">
|
||||
<span class="error font-red">{{ errors.get('first_name','') }}</span>
|
||||
</p>
|
||||
<p>
|
||||
<label for="last_name">Last Name</label>
|
||||
<input name="last_name" id="last_name" type="text" placeholder="Last Name">
|
||||
<span class="error">{{ errors.get('last_name', '') }}</span>
|
||||
<input class="width-100" name="last_name" id="last_name" type="text" placeholder="Last Name">
|
||||
<span class="error font-red">{{ errors.get('last_name', '') }}</span>
|
||||
</p>
|
||||
<p>
|
||||
<label for="phone">Phone</label>
|
||||
<input name="phone" id="phone" type="text" placeholder="Phone">
|
||||
<span class="error">{{ errors.get('phone','') }}</span>
|
||||
<input class="width-100" name="phone" id="phone" type="text" placeholder="Phone">
|
||||
<span class="error font-red">{{ errors.get('phone','') }}</span>
|
||||
</p>
|
||||
<button>Save</button>
|
||||
<div class="flex-row flex-space-betw">
|
||||
<span><a class="button red" href="/contacts">Back</a></span>
|
||||
<button class="button">Save</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
<p>
|
||||
<a href="/contacts">Back</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue