2014-11-10 15:28:44 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
|
|
<form class="form-horizontal" role="form" method="post" action="" >
|
|
|
|
<fieldset >
|
|
|
|
<legend>添加IDC</legend>
|
|
|
|
{% if error %}
|
|
|
|
<div class="alert alert-danger">
|
|
|
|
{{ error }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% if msg %}
|
|
|
|
<div class="alert alert-success">
|
|
|
|
{{ msg }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="name" class="col-sm-2 control-label">IDC<span style="color: red"> *</span></label>
|
|
|
|
<div class="col-sm-4">
|
|
|
|
<input type="text" class="form-control" id="name" name="name" placeholder="IDC">
|
|
|
|
</div>
|
2014-11-10 15:41:38 +00:00
|
|
|
|
2014-11-10 15:28:44 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-sm-offset-2 col-sm-4">
|
|
|
|
<button class="btn btn-primary">添加</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|