%tr.proposal
  %td
    .user
      = link_to image_tag(avatar_url(proposal.user)), proposal.user
  %td
    .row
      .col-sm-9
        %h3
          #FIXME
          - if proposal.instance_of? Offer
            = link_to(proposal.title, offer_path(proposal))
          - else
            = link_to(proposal.title, wanted_path(proposal))
      .col-sm-3
        .proposal-btn
          = proposal.button

    - if local_assigns.has_key? :description_size
      = markdown(truncate(proposal.description, :length => description_size))
    - else
      = markdown(proposal.description)

    .row
      .col-sm-12
        .info
          .name
            = link_to proposal.user.name, proposal.user
          .category
            - category = proposal.category_list.first
            = raw(category_tag(category))
            = link_to category, proposals_path(category: category)
          .date
            = fa_tag("calendar-o")
            = time_ago_in_words(proposal.created_at) + " ago"
    .request{ class: "hidden" }
      = render partial: "messages/form", locals: {proposal: proposal}

%tr.proposal
  %td
    .user
      = link_to image_tag(avatar_url(proposal.user)), proposal.user
  %td
    .row
      .col-sm-9
        %h3
          #FIXME
          - if proposal.instance_of? Offer
            = link_to(proposal.title, offer_path(proposal))
          - else
            = link_to(proposal.title, wanted_path(proposal))
      .col-sm-3
        .proposal-btn
          = proposal.button

    = markdown(truncate(proposal.description, length: local_assigns.fetch(:description_size, Float::INFINITY)))

    .row
      .col-sm-12
        .info
          .name
            = link_to proposal.user.name, proposal.user
          .category
            - category = proposal.category_list.first
            = raw(category_tag(category))
            = link_to category, proposals_path(category: category)
          .date
            = fa_tag("calendar-o")
            = time_ago_in_words(proposal.created_at) + " ago"
    .request{ class: "hidden" }
      = render partial: "messages/form", locals: {proposal: proposal}

Use default argument in lieu of conditional.
Use default argument in lieu of conditional.
