Sha256: 6408c99946fa55d35eb49a9902bf4c720ddbb221490d8a4eee16bfd7aac7b650
Contents?: true
Size: 571 Bytes
Versions: 8
Compression:
Stored size: 571 Bytes
Contents
= simple_form_for [dorsale, @comment], remote: true do |f| - if defined?(commentable) input type="hidden" name="commentable_id" value=commentable.id input type="hidden" name="commentable_type" value=commentable.class .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
8 entries across 8 versions & 1 rubygems