file.hbs 493 B

123456789101112131415
  1. <a href="/">Back</a>
  2. <h1>LAN Jukebox - Add a Music File</h1>
  3. {{#if errors}}
  4. {{#each errors}}
  5. <div class="alert alert-danger">{{msg}}</div>
  6. {{/each}}
  7. {{/if}}
  8. <label>Upload a file:</label><br/>
  9. <form method="post" class="upload">
  10. <div class="form-group">
  11. <input type="text" class="form-control" placeholder="TODO file upload" name="file">
  12. <button type="submit" class="btn btn-default file-button">Submit</button>
  13. <!-- TODO file size limit -->
  14. </div>
  15. </form>