summaryrefslogtreecommitdiff
path: root/app/views/phone_book_entries/edit.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/phone_book_entries/edit.html.haml')
-rw-r--r--app/views/phone_book_entries/edit.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/phone_book_entries/edit.html.haml b/app/views/phone_book_entries/edit.html.haml
new file mode 100644
index 0000000..d4fad4d
--- /dev/null
+++ b/app/views/phone_book_entries/edit.html.haml
@@ -0,0 +1,9 @@
+- title t("phone_book_entries.edit.page_title")
+
+= render "form"
+
+%p
+ - if can? :edit, @phone_book_entry
+ = link_to t('phone_book_entries.edit.actions.edit'), @phone_book_entry
+ |
+ = link_to t('phone_book_entries.edit.actions.view_all'), phone_book_entries_path