This file is indexed.

/usr/lib/ruby/1.8/generators/templates/resource_controller/datamapper/app/views/%file_name%/edit.html.haml is in libmerb-haml-ruby1.8 1.0.12+dfsg-4fakesync1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
%h1
  <%= class_name %> controller, edit action
%p
  Edit this file in
  %tt
    app/views/<%= file_name %>/edit.html.erb
= error_messages_for @<%= singular_model %>

= form_for(@<%= singular_model %>, :action => url(:<%= singular_model %>, @<%= singular_model %>)) do
<% for property in properties.select{|p| !p.key?} -%>
  %p
    %b
      <%= DataMapper::Inflection.humanize(property.field) %>
    %br/
    = <%= field_from_type(property.type) %> :<%= property.getter %>
<% end -%>
  %p
    = submit "Update"

= link_to 'Show', url(:<%= singular_model %>, @<%= singular_model %>)
|
= link_to 'Back', url(:<%= plural_model %>)