summaryrefslogtreecommitdiff
path: root/app/views/generic_files/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/generic_files/index.html.haml')
-rw-r--r--app/views/generic_files/index.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/generic_files/index.html.haml b/app/views/generic_files/index.html.haml
new file mode 100644
index 0000000..b3c489e
--- /dev/null
+++ b/app/views/generic_files/index.html.haml
@@ -0,0 +1,6 @@
+- content_for :title, t("generic_files.index.page_title")
+
+- if @generic_files && @generic_files.count > 0
+ = render "index_core", :generic_files => @generic_files
+
+= render :partial => 'shared/create_link', :locals => {:parent => @parent, :child_class => GenericFile} \ No newline at end of file