summaryrefslogtreecommitdiff
path: root/views/model_name_edit.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/model_name_edit.haml')
-rw-r--r--views/model_name_edit.haml14
1 files changed, 0 insertions, 14 deletions
diff --git a/views/model_name_edit.haml b/views/model_name_edit.haml
index ea47f1c..8098c7e 100644
--- a/views/model_name_edit.haml
+++ b/views/model_name_edit.haml
@@ -11,17 +11,3 @@
%input{:type => "submit", :value => "Save", :id => "save_#{model.id}", :class => "edit_button_h2"}
%span{:class => "edit_button_h2"}
%a{:href => "#", :id => "cancel_#{model.id}"} Cancel
-
-%div{:id => "model_#{model.id}_policy_edit"}
- - if is_authorized(model.web_uri, "PUT")
- - js = "$('#edit_#{model.id}').editPolicy({id: '#{model.id}', mode: 'edit'});\n "
- :javascript
- $(function() {
- #{js}
- });
-
- %span{:class => "manage_button"}
- [
- %a{:href => url_for("/model/#{model.id}/name?mode=manage"), :id => "edit_#{model.id}"} protect data
- ]
-