project_form.html 859 Bytes
{%extends 'base.html'%}
{%block content%}
<form class="form" method="POST" enctype="multipart/form-data">
    <div>
        {{ form.csrf_token }}
        {{form.projectName.label}} 
        {{form.projectName(class="form-control")}}
        {{form.projectType.label}} 
        {{form.projectType(class="form-control")}}
        {{form.pictureName.label}} 
        {{form.pictureName(class="form-control")}}
        {{form.content.label}} 
         {{form.content(class="form-control")}}
        {{form.gitAddress.label}} 
        {{form.gitAddress(class="form-control")}}
        비디오: <input type="file" name="video" id="">
        이미지1:<input type="file" name="pic1" id="">
        이미지2:<input type="file" name="pic2" id="">
        <br>
        <button type="submit" class="btn btn-primary">submit</button>
    </div>

</form>
{%endblock%}