.js-overlay-comment-list.scrolling data-replace-self-on-ajax-success=true
  ul.spaced-list
    - comments.each do |comment|
      li
        p= comment.user.name
        p= comment.body

  - if current_user.signed_in?
    = form_for comment, url: photo_comments_path(photo_id), remote: true do |f|
      = f.text_area :body, class: 'textarea'
      = f.submit class: 'square-button'

.js-overlay-comment-list.scrolling data-replace-self-on-ajax-success=true
  ul.spaced-list
    - comments.each do |comment|
      li
        p= comment.user.name
        p= comment.body

  - if current_user.signed_in?
    = form_for comment, url: photo_comments_path(photo_id), remote: true do |f|
      = f.text_area :body, class: 'textarea'
      = f.submit class: 'square-button', value: 'Comment'

Change comment form submit text
Change comment form submit text

RobinClowers/photo-album,RobinClowers/photo-album,RobinClowers/photo-album,RobinClowers/photo-album