added error message when cannot create repo

This commit is contained in:
Brad Rydzewski 2015-04-30 11:01:46 -07:00
parent 371a64ef6a
commit 64cc684295

View file

@ -2,7 +2,12 @@
<a href="/">Back</a> <a href="/">Back</a>
<div class="alert alert-error" ng-if="error !== undefined">
There was an error adding your repository. Please ensure the
repository exists and you have admin privileges.
</div>
<form> <form>
<input type="text" placeholder="octocat/Hello-World" ng-model="slug" /> <input type="text" placeholder="octocat/Hello-World" ng-model="slug" />
<button ng-click="add(slug)">Add</button> <button ng-click="add(slug)">Add</button>
</form> </form>