<commit_before>- @primary_nav = :messages

%h1 View Message
%table
  %tr
    %th ID
    %td= @message.id
  %tr
    %th Message Stream ID
    %td= link_to @message.message_stream_id, [:admin, @message_stream]
  %tr
    %th Name
    %td= @message.name
  %tr
    %th Title
    %td= @message.title
  %tr
    %th Path
    %td= @message.path
  %tr
    %th Offset Days
    %td= @message.offset_days
  %tr
    %th IVR Code
    %td= @message.ivr_code
  %tr
    %th SMS Text
    %td= @message.sms_text
  %tr
    %th Date Created
    %td= @message.created_at.strftime '%b %e, %Y @ %r %Z'
  %tr
    %th Last Updated
    %td= @message.updated_at.strftime '%b %e, %Y @ %r %Z'<commit_msg>Messages: improvements to show page<commit_after>- @primary_nav = :messages

%h2 View Message
= form_for(admin_message_stream_messages_path(@message_stream, @message), :html => { :class => 'admin-view' }) do |f|
  %fieldset
    .field
      = f.label :id, 'ID'
      = @message.id
    .field
      = f.label :message_stream_id, 'Message Stream ID'
      = link_to @message.message_stream_id, [:admin, @message_stream]
    .field
      = f.label :name
      = @message.name
    .field
      = f.label :title
      = @message.title
    .field
      = f.label :path
      = @message.path
    .field
      = f.label :offset_days, 'Offset Days'
      = @message.offset_days
    .field
      = f.label :ivr_code, 'IVR Code'
      = @message.ivr_code
    .field
      = f.label :sms_text, 'SMS Text'
      = @message.sms_text
    .field
      = f.label :date_created, 'Date Created'
      = @message.created_at.strftime '%b %e, %Y @ %r %Z'
    .field
      = f.label :last_updated, 'Last Updated'
      = @message.updated_at.strftime '%b %e, %Y @ %r %Z'
{'fraction_non_alphanumeric': 0.14194299011052938, 'fraction_numerical': 0.0011634671320535194, 'mean_word_length': 2.4194831013916502, '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': '2542938', 'n_tokens_mistral': 659, 'n_tokens_neox': 650, 'n_words': 161}