summaryrefslogtreecommitdiffstats
path: root/app/views/common/_preview.html.erb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-24 00:05:51 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-24 00:05:51 +0000
commit96bf9bb77f8f36316182c3b484e7117a9ca7cb60 (patch)
tree3f0e048d2448d1207d739a295ec3686f7a89ef6c /app/views/common/_preview.html.erb
parentb68048556e8dbe4fe04f6833f7b7e5bccdcd7d37 (diff)
downloadredmine-96bf9bb77f8f36316182c3b484e7117a9ca7cb60.tar.gz
redmine-96bf9bb77f8f36316182c3b484e7117a9ca7cb60.zip
rename .rhtml to .html.erb of app/views/common/_preview.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6547 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/common/_preview.html.erb')
-rw-r--r--app/views/common/_preview.html.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/common/_preview.html.erb b/app/views/common/_preview.html.erb
new file mode 100644
index 000000000..fd95f1188
--- /dev/null
+++ b/app/views/common/_preview.html.erb
@@ -0,0 +1,3 @@
+<fieldset class="preview"><legend><%= l(:label_preview) %></legend>
+<%= textilizable @text, :attachments => @attachements, :object => @previewed %>
+</fieldset>