Currently I have a text area and below is the corresponding code for that. I want to change the number of rows it contains and the want the text area to fill the screen horizontally on mobile. How do I change. I am new to ruby on rails and couldn’t figure out the right syntax to add rows.
<div class="control-group">
<%= label_tag(:message_body, "Body", :class => "control-label") %>
<div class="controls">
<%= text_area_tag :message_body, @message_body %>
</div>
</div>
Ref
text_area_tag