diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-04 20:37:38 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-04 20:37:38 +0200 |
commit | 1cdb5c0f582502eac4d851cecc015e81cf16316b (patch) | |
tree | 79d5b8de99e72c61d55585fa1e243d9a847dd107 /client/src/app/videos/video-add/video-add.component.html | |
parent | fe3b20cdaf54125674afd3c3d0aa8e9411bb0722 (diff) | |
download | PeerTube-1cdb5c0f582502eac4d851cecc015e81cf16316b.tar.gz PeerTube-1cdb5c0f582502eac4d851cecc015e81cf16316b.tar.zst PeerTube-1cdb5c0f582502eac4d851cecc015e81cf16316b.zip |
Handle error for the video upload
Diffstat (limited to 'client/src/app/videos/video-add/video-add.component.html')
-rw-r--r-- | client/src/app/videos/video-add/video-add.component.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/videos/video-add/video-add.component.html b/client/src/app/videos/video-add/video-add.component.html index 80d229cb8..cbe274e8a 100644 --- a/client/src/app/videos/video-add/video-add.component.html +++ b/client/src/app/videos/video-add/video-add.component.html | |||
@@ -1,5 +1,7 @@ | |||
1 | <h3>Upload a video</h3> | 1 | <h3>Upload a video</h3> |
2 | 2 | ||
3 | <div *ngIf="error" class="alert alert-danger">{{ error }}</div> | ||
4 | |||
3 | <form (ngSubmit)="uploadFile()" #videoForm="ngForm"> | 5 | <form (ngSubmit)="uploadFile()" #videoForm="ngForm"> |
4 | <div class="form-group"> | 6 | <div class="form-group"> |
5 | <label for="name">Video name</label> | 7 | <label for="name">Video name</label> |