summaryrefslogtreecommitdiff
path: root/views/models.haml
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.de>2010-02-19 14:31:40 +0100
committerChristoph Helma <helma@in-silico.de>2010-02-19 14:31:40 +0100
commit038f3bce2ea08481d8311fddf9150741dd308f74 (patch)
treedec1033d26612c4fc9a4a92e584bf46c5814c268 /views/models.haml
parent479680eeec4ffc1a5d2a39359995949704393064 (diff)
mime types added to response header
Diffstat (limited to 'views/models.haml')
-rw-r--r--views/models.haml5
1 files changed, 4 insertions, 1 deletions
diff --git a/views/models.haml b/views/models.haml
index 9cf2bd6..cb24f86 100644
--- a/views/models.haml
+++ b/views/models.haml
@@ -7,12 +7,15 @@
%dd
= model.status
(
- = link_to "delete", "/model/#{model.id}/delete"
+ %a{:href => url_for("/model/#{model.id}/delete"), :onclick => 'return confirm("Are you sure?");'} delete
)
%dt Started:
%dd= model.created_at
%dt Details:
%dd= model.messages
+ %dt URI:
+ %dd
+ %a{:href => model.uri, :accept => "application/rdf+xml"} #{model.uri}
%dt Validation:
%dd
%em