Sha256: 9258fe12b113af9be910dadc4567af4df88752f98151adc90f3a64dfbe18eeaa
Contents?: true
Size: 470 Bytes
Versions: 4
Compression:
Stored size: 470 Bytes
Contents
= simple_form_for [dorsale, comment], remote: true do |f| = f.hidden_field :commentable_id = f.hidden_field :commentable_type .comment - if comment.author.try(:avatar_url).present? = image_tag comment.author.avatar_url, class: "avatar" - else = image_tag "dorsale/avatar.png", class: "avatar" .textarea-input-group = f.text_area :text, rows: 3, class: "form-control" input type="submit" value=t("actions.send") .clearfix
Version data entries
4 entries across 4 versions & 1 rubygems