Merge pull request #5452 from JDonadio/fix/empty-content

Fix empty content
This commit is contained in:
Matias Alejo Garcia 2017-01-16 12:08:46 -03:00 committed by GitHub
commit 9fa2a990ec

View file

@ -81,22 +81,24 @@
ng-model="formData.privateKey"> ng-model="formData.privateKey">
</label> </label>
<ion-toggle class="has-comment" ng-model="encrypt" toggle-class="toggle-positive" ng-change="resizeView()" ng-show="seedSource.id == 'new' || seedSource.id == 'set'"> <div ng-show="seedSource.id == 'new' || seedSource.id == 'set'">
<span class="toggle-label" translate>Add a password</span> <ion-toggle class="has-comment" ng-model="encrypt" toggle-class="toggle-positive" ng-change="resizeView()">
</ion-toggle> <span class="toggle-label" translate>Add a password</span>
<div class="comment"> </ion-toggle>
<span ng-show="seedSource.id == 'new'" translate>Add an optional password to secure the recovery phrase</span> <div class="comment">
<span ng-show="seedSource.id == 'set'" translate>The recovery phrase could require a password to be imported</span> <span ng-show="seedSource.id == 'new'" translate>Add an optional password to secure the recovery phrase</span>
<span ng-show="seedSource.id == 'set'" translate>The recovery phrase could require a password to be imported</span>
</div>
</div> </div>
<div class="item item-input" ng-show="encrypt"> <div class="item item-input" ng-show="encrypt">
<input ng-show="seedSource.id == 'new'" <input ng-show="seedSource.id == 'new'"
placeholder="{{'Password'|translate}}" placeholder="{{'Password'|translate}}"
type="password" type="password"
autocapitalize="off" autocapitalize="off"
ng-model="formData.createPassphrase"> ng-model="formData.createPassphrase">
<input ng-show="seedSource.id == 'set'" <input ng-show="seedSource.id == 'set'"
placeholder="{{'Password'|translate}}" placeholder="{{'Password'|translate}}"
type="password" type="password"
autocapitalize="off" autocapitalize="off"