-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get confirmation before deleting right, refs #7650
Get confirmation from the user before deleting a right.
- Loading branch information
Showing
6 changed files
with
30 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php decorate_with('layout_1col.php') ?> | ||
|
||
<?php slot('title') ?> | ||
<h1><?php echo __('Are you sure you want to delete this right?') ?></h1> | ||
<?php end_slot() ?> | ||
|
||
<?php slot('content') ?> | ||
|
||
<?php echo $form->renderFormTag(url_for(array($right, 'module' => 'right', 'action' => 'delete')), array('method' => 'delete')) ?> | ||
|
||
<section class="actions"> | ||
<ul> | ||
<li><?php echo link_to(__('Cancel'), $relatedObject, array('class' => 'c-btn')) ?></li> | ||
<li><input class="c-btn c-btn-delete" type="submit" value="<?php echo __('Delete') ?>"/></li> | ||
</ul> | ||
</section> | ||
|
||
</form> | ||
|
||
<?php end_slot() ?> |
This file was deleted.
Oops, something went wrong.