form-group was blocking post data
This commit is contained in:
@@ -25,7 +25,8 @@
|
||||
</div>
|
||||
<img ng-if="doc.img_url" class="img img-responsive" src="{{doc.img_url}}">
|
||||
<img ng-if="!doc.img_url" class="img img-responsive" src="/images/icons/_blank.png">
|
||||
<p>{{doc.description}}</p>
|
||||
<br/>
|
||||
<h4>{{doc.description}}</h4>
|
||||
<h6>Uploaded at: {{ doc.createdAt | date: 'medium'}}</h6>
|
||||
<button type="button" class="btn btn-danger" data-toggle="modal" data-target="#deleteDocModal" ng-click="selectDelete(doc.id)">
|
||||
Delete
|
||||
@@ -41,10 +42,10 @@
|
||||
<form action="/doc/upload" enctype="multipart/form-data" method="post">
|
||||
|
||||
<input type="file" name="document" class="form-control"><br>
|
||||
<div class="form-group">
|
||||
|
||||
<label for="description">File Description</label>
|
||||
<input type="text" name="description" class="form-control"><br>
|
||||
</div>
|
||||
|
||||
<input type="submit" class="btn btn-default" value="Upload">
|
||||
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user