diff --git a/public/views/add.html b/public/views/add.html
index 01c54b81c..28a01d1cb 100644
--- a/public/views/add.html
+++ b/public/views/add.html
@@ -10,8 +10,13 @@
-
- Create new wallet
+
+ New Personal Wallet
+
+
+
+
+ Create Shared Wallet
diff --git a/public/views/create.html b/public/views/create.html
deleted file mode 100644
index 49a483906..000000000
--- a/public/views/create.html
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
- {{'Create new wallet' | translate}}
-
-
-
-
-
-
-
-
- Personal Wallet
-
-
- Shared Wallet
-
-
-
-
-
-
-
diff --git a/public/views/tab-create-personal.html b/public/views/tab-create-personal.html
index 94887a3ba..754afc81d 100644
--- a/public/views/tab-create-personal.html
+++ b/public/views/tab-create-personal.html
@@ -1,88 +1,100 @@
-
+
+
-
-
diff --git a/public/views/tab-create-shared.html b/public/views/tab-create-shared.html
index a40c1df8b..db6420a7a 100644
--- a/public/views/tab-create-shared.html
+++ b/public/views/tab-create-shared.html
@@ -1,119 +1,131 @@
-
diff --git a/src/js/controllers/create.js b/src/js/controllers/create.js
index f2b49c79e..d2bfe37a8 100644
--- a/src/js/controllers/create.js
+++ b/src/js/controllers/create.js
@@ -23,7 +23,7 @@ angular.module('copayApp.controllers').controller('createController',
12: 1,
};
- $scope.init = function() {
+ $scope.init = function(tc) {
$scope.formData = {};
var defaults = configService.getDefaults();
$scope.formData.account = 1;
@@ -31,9 +31,9 @@ angular.module('copayApp.controllers').controller('createController',
$scope.TCValues = lodash.range(2, defaults.limits.totalCopayers + 1);
$scope.formData.totalCopayers = defaults.wallet.totalCopayers;
$scope.formData.derivationPath = derivationPathHelper.default;
- $scope.setTotalCopayers(1);
- updateRCSelect(1);
- updateSeedSourceSelect(1);
+ $scope.setTotalCopayers(tc);
+ updateRCSelect(tc);
+ updateSeedSourceSelect(tc);
};
$scope.showAdvChange = function() {
diff --git a/src/js/routes.js b/src/js/routes.js
index 0f858cc81..e37d8efa2 100644
--- a/src/js/routes.js
+++ b/src/js/routes.js
@@ -282,11 +282,19 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
},
},
})
- .state('tabs.create', {
- url: '/create',
+ .state('tabs.create-personal', {
+ url: '/create-personal',
views: {
'tab-home': {
- templateUrl: 'views/create.html'
+ templateUrl: 'views/tab-create-personal.html'
+ },
+ }
+ })
+ .state('tabs.create-shared', {
+ url: '/create-shared',
+ views: {
+ 'tab-home': {
+ templateUrl: 'views/tab-create-shared.html'
},
}
})