diff --git a/app/controllers/ProfileController.php b/app/controllers/ProfileController.php index a7bbf4d55d..37641af434 100644 --- a/app/controllers/ProfileController.php +++ b/app/controllers/ProfileController.php @@ -22,9 +22,9 @@ class ProfileController extends BaseController */ public function index() { - View::share('title','Profile'); - View::share('subTitle',Auth::user()->email); - View::share('mainTitleIcon','fa-user'); + View::share('title', 'Profile'); + View::share('subTitle', Auth::user()->email); + View::share('mainTitleIcon', 'fa-user'); return View::make('profile.index'); } @@ -33,9 +33,9 @@ class ProfileController extends BaseController */ public function changePassword() { - View::share('title',Auth::user()->email); - View::share('subTitle','Change your password'); - View::share('mainTitleIcon','fa-user'); + View::share('title', Auth::user()->email); + View::share('subTitle', 'Change your password'); + View::share('mainTitleIcon', 'fa-user'); return View::make('profile.change-password'); } diff --git a/app/views/profile/change-password.blade.php b/app/views/profile/change-password.blade.php index 6891c7a6f4..8f1cdfe3f0 100644 --- a/app/views/profile/change-password.blade.php +++ b/app/views/profile/change-password.blade.php @@ -1,43 +1,41 @@ @extends('layouts.default') @section('content') -
-
-

- Use this extremely obvious form to change your password. -

-
-
- - {{Form::open(['class' => 'form-horizontal'])}} -
- -
- -
+
+
+ Change your password
+
+ {{Form::open(['class' => 'form-horizontal'])}} +
+ +
+ +
+
-
- -
- -
-
+
+ +
+ +
+
-
- -
- -
+
+ +
+ +
+
+
+
+ +
+
+ {{Form::close()}}
-
-
- -
-
- {{Form::close()}} - +
@stop diff --git a/app/views/profile/index.blade.php b/app/views/profile/index.blade.php index 00c7bdc119..e640dc4f14 100644 --- a/app/views/profile/index.blade.php +++ b/app/views/profile/index.blade.php @@ -1,8 +1,15 @@ @extends('layouts.default') @section('content')
-
-

Change your password

+
+
+
+ Options +
+ +
@stop