changeset 28:7746fd53bd9c

Disable cols and rows in textarea.
author Edho Arief <edho@myconan.net>
date Mon, 10 Sep 2012 04:00:34 +0700
parents 108e8d6fd0d5
children 5cfc0b956083
files app/views/pastes/_form.html.erb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/views/pastes/_form.html.erb	Mon Sep 10 03:53:15 2012 +0700
+++ b/app/views/pastes/_form.html.erb	Mon Sep 10 04:00:34 2012 +0700
@@ -12,7 +12,7 @@
   <% end %>
 
   <div class="field">
-    <%= f.text_area :paste, :class => 'span12' %>
+    <%= f.text_area :paste, :class => 'span12', :cols => nil, :rows => nil %>
   </div>
   <div class="actions">
     <%= f.submit :class => 'btn' %>