From c02e3f2104d9dbb1bca01935fe7c0dfeacf53baf Mon Sep 17 00:00:00 2001 From: Riyad Preukschas Date: Fri, 14 Sep 2012 05:08:40 +0200 Subject: [PATCH] Rename 'notes/form' partial to 'notes/common_form' --- app/views/notes/{_form.html.haml => _common_form.html.haml} | 0 app/views/notes/_notes_with_form.html.haml | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename app/views/notes/{_form.html.haml => _common_form.html.haml} (100%) diff --git a/app/views/notes/_form.html.haml b/app/views/notes/_common_form.html.haml similarity index 100% rename from app/views/notes/_form.html.haml rename to app/views/notes/_common_form.html.haml diff --git a/app/views/notes/_notes_with_form.html.haml b/app/views/notes/_notes_with_form.html.haml index 14e1e84b..53716c1d 100644 --- a/app/views/notes/_notes_with_form.html.haml +++ b/app/views/notes/_notes_with_form.html.haml @@ -3,7 +3,7 @@ .notes-status - if can? current_user, :write_note, @project - = render "notes/form" + = render "notes/common_form" :javascript $(function(){