textarea rows:'5' @testform.testing doesn't do what you want it to do?
On Mon, May 12, 2014 at 1:51 AM, Sebastjan Hribar
sebastjan.hri...@gmail.com wrote:
Hi,
can someone tell me if multi-line input field is possible to do with
markaby?
If I use input tag like so:
---
input
Hi,
I can only use textarea rows:'5' @testform.testing
for displaying pruposes. As soon as I use tag input which I need for saving
the data to the database table, multiline is impossible.
regards,
seba
2014-05-12 13:39 GMT+02:00 David Susco dsu...@gmail.com:
textarea rows:'5'
textareas are also submitted together with the form, you just need to set a
name:
textarea @testform.testing, rows:5, name:'testing'
On Monday, May 12, 2014, Sebastjan Hribar sebastjan.hri...@gmail.com
wrote:
Hi,
I can only use textarea rows:'5' @testform.testing
for displaying pruposes.
On Mon, 12 May 2014 14:49:33 +0200, Sebastjan Hribar
sebastjan.hri...@gmail.com wrote:
I can only use textarea rows:'5' @testform.testing
for displaying pruposes.
Why? textarea is the way to do multiline text inputs in HTML.
--
Matma Rex
___
Here was my mistake:
I thought that in order for setting the model attribute data like so:
common_attributes = {title: input.title, ..., general_remark:
input.general_remark}
I have to explicitly state the input tag in the form like so:
input textarea @reviewform.general_remark, rows: 5,
But textarea isn't unknown or unspecified type, right?
On 12. 05. 2014 18:19, Bluebie wrote:
All web browsers will treat any unknown or unspecified type of
input as being a text input. This is why we can have things like
input type=email and it doesn't destroy everything :)
---
Bluebie
On
textarea’s are made using the textarea tag. There is no such thing as input
type=“textarea”. Maybe this comes from rails or something? In markaby unless
you’ve created some helpers to do otherwise, it outputs whatever you write in
your code - a call to input() wont be transformed in to a
Thank you very much for the explanation. I was puzzled why let's say
input tag number requires this syntax: input type = 'number' and it
breaks when written number @@reviewform.number, name: 'number.
And the opposite is true for textarea.
regards,
seba
On 12. 05. 2014 19:44, Bluebie
8 matches
Mail list logo