form_tag
|
產生表單
|
label_tag
|
label:<label>
|
text_field_tag
text_field
|
input text:<input type="text">
|
password_field_tag
|
input password:<input type="password">
|
hidden_field_tag
|
input hidden:<input type="hidden">
|
submit_tag
|
input submit:<input type="submit">
|
check_box_tag
|
input checkbox:<input type="checkbox">
|
radio_button_tag
|
input radio:<input type="radio">
|
text_area_tag
|
textarea:<textarea>
|
search_field
|
input search:<input type="search">
|
telephone_field
|
input tel:<inputtype="tel">
|
url_field
|
input url:<input type="url">
|
email_field
|
input email:<input type="email">
|
select_tag
|
select:<select>
|
options_for_select
|
option:<option>
|
select_date
|
<select id="start_date_year" name="start_date[year]"></select>
<select id="start_date_month" name="start_date[month]"></select>
<select id="start_date_day" name="start_date[day]"></select>
|
file_field_tag
|
input file:<input type="file">
|
沒有留言:
張貼留言