@@ -26,10 +26,6 @@ LocalComponents.Page {
2626 backButtonText: i18n.tr("Cancel")
2727 forwardButtonSourceComponent: forwardButton
2828
29− Component.onCompleted: {
30− emailInput.forceActiveFocus()
31− }
32−
3329 Item {
3430 id: column
3531 anchors.fill: content
@@ -123,6 +119,18 @@ LocalComponents.Page {
123119 anchors.top: pass2Label.bottom
124120 anchors.topMargin: units.gu(1)
125121 echoMode: TextInput.Password
122+ KeyNavigation.tab: encryptCheck
123+ }
124+
125+ LocalComponents.CheckableSetting {
126+ id: encryptCheck
127+ objectName: "encryptCheck"
128+ showDivider: false
129+ anchors.left: parent.left
130+ anchors.right: parent.right
131+ anchors.top: pass2Input.bottom
132+ anchors.topMargin: units.gu(3)
133+ text: i18n.tr("Encrypt my content")
126134 KeyNavigation.tab: optoutCheck
127135 }
128136
@@ -132,10 +140,11 @@ LocalComponents.Page {
132140 showDivider: false
133141 anchors.left: parent.left
134142 anchors.right: parent.right
135− anchors.top: pass2Input.bottom
143+ anchors.top: encryptCheck.bottom
136144 anchors.topMargin: units.gu(3)
137145 text: i18n.tr("Opt out of cloud account (not recommended)")
138146 KeyNavigation.tab: termsCheck
147+ visible: false
139148 }
140149
141150 LocalComponents.CheckableSetting {
@@ -149,13 +158,15 @@ LocalComponents.Page {
149158 text: i18n.tr("I have read and accept the Ubuntu account <a href='#'>terms of service</a>")
150159 //onLinkActivated: pageStack.load(Qt.resolvedUrl("here-terms.qml")) // TODO show terms
151160 KeyNavigation.tab: emailInput
161+ visible: false
152162 }
153163 }
154164
155165 Component {
156166 id: forwardButton
157167 LocalComponents.StackButton {
158− enabled: emailInput.acceptableInput && termsCheck.checked &&
168+ enabled: emailInput.acceptableInput &&
169+ //termsCheck.checked && // FIXME re-enable when the checkboxes get visible again
159170 passInput.text !== "" && pass2Input.text !== "" && passInput.text === pass2Input.text
160171 text: i18n.tr("Sign Up")
161172 onClicked: pageStack.next() // TODO sign up against U1