diff options
Diffstat (limited to 'emacs.d/nxhtml/tests/in/bug393137-new.html.erb')
-rw-r--r-- | emacs.d/nxhtml/tests/in/bug393137-new.html.erb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/emacs.d/nxhtml/tests/in/bug393137-new.html.erb b/emacs.d/nxhtml/tests/in/bug393137-new.html.erb new file mode 100644 index 0000000..4023506 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug393137-new.html.erb @@ -0,0 +1,18 @@ + <h1>New post</h1> + +<% form_for(@post) do |f| %> + <%= f.error_messages %> +<p> + <%= f.label :title %><br /> +<% a = f.text_field :title %> +</p> +<p> + <%= f.label :body %><br /> +<%#= f.text_area :body %> +</p> +<p> + <%= f.submit 'Create' %> +</p> +<% end %> + +<%= link_to 'Back', posts_path %> |