<commit_before>#motion
  %h2.headerspace.group-title
    = link_to @motion.group.parent.name, group_path(@motion.group.parent), title: "group" unless @motion.group.parent.nil?
    = " > " unless @motion.group.parent.nil?
    = link_to @motion.group.name, group_path(@motion.group), title: "group"
  .row
    .span8
      %h2.sub-header
      = @motion.name
      - if @motion.voting?
        %span.label.success Voting
      - if @motion.closed?
        %span.label.important Closed
    .span8#admin-buttons
      =render "facilitator_options", motion: @motion
  .row
    .span16
      %h5
        #discussion
          - if @motion.discussion_url.present?
            Discussion -
            =link_to @motion.discussion_url, @motion.discussion_url, target: "_blank"
        .span
          = "Proposed by #{@motion.author_email} #{time_ago_in_words(@motion.created_at)} ago"
          - if @motion.updated_at != @motion.created_at
            ="(edited: #{time_ago_in_words(@motion.updated_at)} ago)"
        .span
          - if @motion.has_closing_date?
            No close date
          - else
            - if @motion.voting?
              = "Closing in #{time_ago_in_words(@motion.close_date)}"
            - else
              Closed on
              .relativetime= @motion.close_date
          %h4#description= simple_format h(@motion.description)
  %hr{style: "margin-bottom:0px"}
  .row
    .span8#discussion-panel<commit_msg>motions show view: made close_date formatting server side<commit_after>#motion
  %h2.headerspace.group-title
    = link_to @motion.group.parent.name, group_path(@motion.group.parent), title: "group" unless @motion.group.parent.nil?
    = " > " unless @motion.group.parent.nil?
    = link_to @motion.group.name, group_path(@motion.group), title: "group"
  .row
    .span8
      %h2.sub-header
      = @motion.name
      - if @motion.voting?
        %span.label.success Voting
      - if @motion.closed?
        %span.label.important Closed
    .span8#admin-buttons
      =render "facilitator_options", motion: @motion
  .row
    .span16
      %h5
        #discussion
          - if @motion.discussion_url.present?
            Discussion -
            =link_to @motion.discussion_url, @motion.discussion_url, target: "_blank"
        .span
          = "Proposed by #{@motion.author_email} #{time_ago_in_words(@motion.created_at)} ago"
          - if @motion.updated_at != @motion.created_at
            ="(edited: #{time_ago_in_words(@motion.updated_at)} ago)"
        .span
          - if @motion.has_closing_date?
            No close date
          - else
            - if @motion.voting?
              = "Closing in #{time_ago_in_words(@motion.close_date)}"
            - else
              Closed 
              = time_ago_in_words(@motion.close_date)
              ago
          %h4#description= simple_format h(@motion.description)
  %hr{style: "margin-bottom:0px"}
  .row
    .span8#discussion-panel
{'fraction_non_alphanumeric': 0.12364130434782608, 'fraction_numerical': 0.006793478260869565, 'mean_word_length': 2.2010869565217392, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6416078', 'n_tokens_mistral': 998, 'n_tokens_neox': 923, 'n_words': 167}