Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 911b5a8bbd
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (24 sloc) 1.005 kb
= f.hidden_field(:question_id, :value => question_id)
= f.hidden_field(:group_id, :value => group_id)
= f.hidden_field(:user_id, :value => user_id)
-# hardcoded to false to use the old-style answer form:
- if false
#search_result_area
= f.text_field(:url, :type => :url, :class => "link_only_answer_form",
:placeholder => t("search_results.add_link"))
.hidden_until_url_is_clicked
= f.label(:comment)
= f.text_area(:comment,
:class => 'placeholder',
:placeholder => t(:comment, :scope => [:helpers, :placeholder]))
.submit_button
= submit_tag t("search_results.add_link"), :class => "button"
- else
= f.label(:url)
= f.text_field(:url, :type => :url)
= f.label(:comment)
= f.text_area(:comment,
:class => 'placeholder',
:placeholder => t(:comment, :scope => [:helpers, :placeholder]))
.group.navform
= submit_tag t("search_results.add_link"), :class => "button"
Jump to Line
Something went wrong with that request. Please try again.