Authorisation management using CanCanCan added
This commit is contained in:
parent
51be4a4777
commit
7a3b65fe50
24 changed files with 211 additions and 295 deletions
|
|
@ -31,12 +31,6 @@
|
|||
a.button.alert.round href=delete_screenshot_path(screenshot) onclick="return confirm('Really delete the screenshot?');" Reject
|
||||
a.button.success.round href=approve_screenshot_path(screenshot) Approve
|
||||
|
||||
/ Existing screenshots that was requested for removal
|
||||
- if screenshot.markedfordelete==true
|
||||
.button-group
|
||||
a.button.alert.round href=delete_screenshot_path(screenshot) onclick="return confirm('Really delete the screenshot?');" Remove as requested
|
||||
a.button.success.round href=approve_screenshot_path(screenshot) Keep the screenshot
|
||||
|
||||
|
||||
.small-6.cell
|
||||
p Existing screenshots:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue