+
+
+
+ = $this->Form->create($address) ?>
+
+ = $this->Form->button(__('Submit')) ?>
+ = $this->Form->end() ?>
+
+
+
diff --git a/CakePHP/templates/Addresses/edit.php b/CakePHP/templates/Addresses/edit.php
new file mode 100644
index 0000000..1468868
--- /dev/null
+++ b/CakePHP/templates/Addresses/edit.php
@@ -0,0 +1,38 @@
+
+
+
+
+
+ = $this->Form->create($address) ?>
+
+ = $this->Form->button(__('Submit')) ?>
+ = $this->Form->end() ?>
+
+
+
diff --git a/CakePHP/templates/Addresses/index.php b/CakePHP/templates/Addresses/index.php
new file mode 100644
index 0000000..bc5a1f8
--- /dev/null
+++ b/CakePHP/templates/Addresses/index.php
@@ -0,0 +1,56 @@
+ $addresses
+ */
+?>
+
+ = $this->Html->link(__('New Address'), ['action' => 'add'], ['class' => 'button float-right']) ?>
+
= __('Addresses') ?>
+
+
+
+
+ | = $this->Paginator->sort('id') ?> |
+ = $this->Paginator->sort('owner') ?> |
+ = $this->Paginator->sort('first') ?> |
+ = $this->Paginator->sort('last') ?> |
+ = $this->Paginator->sort('street') ?> |
+ = $this->Paginator->sort('zip') ?> |
+ = $this->Paginator->sort('city') ?> |
+ = $this->Paginator->sort('phone') ?> |
+ = __('Actions') ?> |
+
+
+
+
+
+ | = $this->Number->format($address->id) ?> |
+ = $this->Number->format($address->owner) ?> |
+ = h($address->first) ?> |
+ = h($address->last) ?> |
+ = h($address->street) ?> |
+ = h($address->zip) ?> |
+ = h($address->city) ?> |
+ = h($address->phone) ?> |
+
+ = $this->Html->link(__('View'), ['action' => 'view', $address->id]) ?>
+ = $this->Html->link(__('Edit'), ['action' => 'edit', $address->id]) ?>
+ = $this->Form->postLink(__('Delete'), ['action' => 'delete', $address->id], ['confirm' => __('Are you sure you want to delete # {0}?', $address->id)]) ?>
+ |
+
+
+
+
+
+
+
+
= $this->Paginator->counter(__('Page {{page}} of {{pages}}, showing {{current}} record(s) out of {{count}} total')) ?>
+
+
diff --git a/CakePHP/templates/Addresses/view.php b/CakePHP/templates/Addresses/view.php
new file mode 100644
index 0000000..a82b430
--- /dev/null
+++ b/CakePHP/templates/Addresses/view.php
@@ -0,0 +1,56 @@
+
+
+
+
+
+
= h($address->id) ?>
+
+
+ | = __('First') ?> |
+ = h($address->first) ?> |
+
+
+ | = __('Last') ?> |
+ = h($address->last) ?> |
+
+
+ | = __('Street') ?> |
+ = h($address->street) ?> |
+
+
+ | = __('Zip') ?> |
+ = h($address->zip) ?> |
+
+
+ | = __('City') ?> |
+ = h($address->city) ?> |
+
+
+ | = __('Phone') ?> |
+ = h($address->phone) ?> |
+
+
+ | = __('Id') ?> |
+ = $this->Number->format($address->id) ?> |
+
+
+ | = __('Owner') ?> |
+ = $this->Number->format($address->owner) ?> |
+
+
+
+
+
diff --git a/CakePHP/templates/App/index.php b/CakePHP/templates/App/index.php
new file mode 100644
index 0000000..e69de29
diff --git a/CakePHP/templates/Pages/main.php b/CakePHP/templates/Pages/main.php
new file mode 100644
index 0000000..e69de29
diff --git a/CakePHP/templates/Users/add.php b/CakePHP/templates/Users/add.php
new file mode 100644
index 0000000..3dcac4a
--- /dev/null
+++ b/CakePHP/templates/Users/add.php
@@ -0,0 +1,31 @@
+
+
+
+
+
+ = $this->Form->create($user) ?>
+
+ = $this->Form->button(__('Submit')) ?>
+ = $this->Form->end() ?>
+
+
+
diff --git a/CakePHP/templates/Users/edit.php b/CakePHP/templates/Users/edit.php
new file mode 100644
index 0000000..b8dc4b5
--- /dev/null
+++ b/CakePHP/templates/Users/edit.php
@@ -0,0 +1,36 @@
+
+
+
+
+
+ = $this->Form->create($user) ?>
+
+ = $this->Form->button(__('Submit')) ?>
+ = $this->Form->end() ?>
+
+
+
diff --git a/CakePHP/templates/Users/index.php b/CakePHP/templates/Users/index.php
new file mode 100644
index 0000000..4c72b10
--- /dev/null
+++ b/CakePHP/templates/Users/index.php
@@ -0,0 +1,50 @@
+ $users
+ */
+?>
+
+ = $this->Html->link(__('New User'), ['action' => 'add'], ['class' => 'button float-right']) ?>
+
= __('Users') ?>
+
+
+
+
+ | = $this->Paginator->sort('id') ?> |
+ = $this->Paginator->sort('nick') ?> |
+ = $this->Paginator->sort('first') ?> |
+ = $this->Paginator->sort('last') ?> |
+ = $this->Paginator->sort('is_admin') ?> |
+ = __('Actions') ?> |
+
+
+
+
+
+ | = $this->Number->format($user->id) ?> |
+ = h($user->nick) ?> |
+ = h($user->first) ?> |
+ = h($user->last) ?> |
+ = h($user->is_admin) ?> |
+
+ = $this->Html->link(__('View'), ['action' => 'view', $user->id]) ?>
+ = $this->Html->link(__('Edit'), ['action' => 'edit', $user->id]) ?>
+ = $this->Form->postLink(__('Delete'), ['action' => 'delete', $user->id], ['confirm' => __('Are you sure you want to delete # {0}?', $user->id)]) ?>
+ |
+
+
+
+
+
+
+
+
= $this->Paginator->counter(__('Page {{page}} of {{pages}}, showing {{current}} record(s) out of {{count}} total')) ?>
+
+
diff --git a/CakePHP/templates/Users/login.php b/CakePHP/templates/Users/login.php
new file mode 100644
index 0000000..b3d9bbc
--- /dev/null
+++ b/CakePHP/templates/Users/login.php
@@ -0,0 +1 @@
+
+
+
+
+
+
= h($user->id) ?>
+
+
+ | = __('Nick') ?> |
+ = h($user->nick) ?> |
+
+
+ | = __('First') ?> |
+ = h($user->first) ?> |
+
+
+ | = __('Last') ?> |
+ = h($user->last) ?> |
+
+
+ | = __('Id') ?> |
+ = $this->Number->format($user->id) ?> |
+
+
+ | = __('Is Admin') ?> |
+ = $user->is_admin ? __('Yes') : __('No'); ?> |
+
+
+
+
+
diff --git a/CakePHP/templates/element/flash/info.php b/CakePHP/templates/element/flash/info.php
new file mode 100644
index 0000000..e25b730
--- /dev/null
+++ b/CakePHP/templates/element/flash/info.php
@@ -0,0 +1,11 @@
+
+