Removed form button from signin for create a new wallet. It is just a link.

This commit is contained in:
Gustavo Cortez 2014-06-02 18:12:23 -03:00
parent 071e6700e1
commit 5c14bf0ebc
2 changed files with 1 additions and 8 deletions

View File

@ -194,13 +194,10 @@
</div>
<div ng-show="!wallets.length">
<h3>Create a new wallet</h3>
<form name="createForm" ng-submit="create(createForm)" novalidate>
<p class="text-gray">
Copay is a free, open-source, multisignature bitcoin wallet. A single-owner bitcoin wallet's security depends on carefully securing the private keys. With copay you can have multiple people controlling the funds, using bitcoin's multisignature functionality, requiring no trust in any third party.
</p>
<button type="submit" class="button secondary radius"
ng-disabled="createForm.$invalid || loading" loading="Creating">Create</button>
</form>
<a href="#setup" class="button secondary radius">Create</a>
</div>
</div>
</div>

View File

@ -12,10 +12,6 @@ angular.module('copay.signin').controller('SigninController',
$scope.selectedWalletId = $scope.wallets.length ? $scope.wallets[0].id : null;
$scope.openPassword = '';
$scope.create = function(form) {
$location.path('setup');
};
$scope.open = function(form) {
if (form && form.$invalid) {
$rootScope.$flashMessage = { message: 'Please, enter required fields', type: 'error'};