diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-01-16 02:01:57 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-01-16 02:01:57 +0000 |
commit | b812b236876ab7a6bd1f3e58a1aa71847394f3a1 (patch) | |
tree | 28e65251aee0a1007bec37b03c4ae2b5c41ff293 /actionpack/test/fixtures | |
parent | 8a71f870093ccdfa0b04e318cca0f517576be380 (diff) | |
download | rails-b812b236876ab7a6bd1f3e58a1aa71847394f3a1.tar.gz rails-b812b236876ab7a6bd1f3e58a1aa71847394f3a1.tar.bz2 rails-b812b236876ab7a6bd1f3e58a1aa71847394f3a1.zip |
Make render :partial recognise form builders and use the _form partial. Closes #10814 [djanowski]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/fixtures')
-rw-r--r-- | actionpack/test/fixtures/test/_form.erb | 1 | ||||
-rw-r--r-- | actionpack/test/fixtures/test/_labelling_form.erb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/test/_form.erb b/actionpack/test/fixtures/test/_form.erb new file mode 100644 index 0000000000..01107f1cb2 --- /dev/null +++ b/actionpack/test/fixtures/test/_form.erb @@ -0,0 +1 @@ +<%= form.label :title %> diff --git a/actionpack/test/fixtures/test/_labelling_form.erb b/actionpack/test/fixtures/test/_labelling_form.erb new file mode 100644 index 0000000000..1b95763165 --- /dev/null +++ b/actionpack/test/fixtures/test/_labelling_form.erb @@ -0,0 +1 @@ +<%= labelling_form.label :title %> |