Add default delete modal usage:

- <%= render 'layouts/delete_modal', delete_options: {title: '', warning: '', cancel: '', submit: '' } %>
 - in default index, just set title, warning, cancel and submit in quick_edit if needed
This commit is contained in:
chris committed 2013-07-29 14:29:37 +08:00
1 parent b3cdffb59e
commit d434b878a7
8 files changed
+33 -32

No files matched your search

+1
View File
@@ -12,6 +12,7 @@ en:
error:
category: Error when creating category
tag: Error when creating tag
delete_warning: This action can not be restored, are you sure you want to delete?
deselect_all: Deselect all
detail: Detail
edit_category: Edit Categorie