<commit_before>- content_for :title, 'Edit Plan'
- content_for :description, 'Form for editing a plan.'
%h1 Editing plan

= render 'form', plan_decorator: @plan
= link_to 'Show', plan_path(@plan.id)
\|
= link_to 'Back', user_plans_path(@plan.user)<commit_msg>improve styling on the plans/edit page<commit_after>- content_for :title, 'Edit Plan'
- content_for :description, 'Edit a plan.'

%section
  .col-xs-12
    %p= link_to 'Back to My Plans', user_plans_path(@plan.user)

    = form_for @plan.form_model, html: { role: 'form' } do |f|
      %h1.form-title= "Edit Plan '#{@plan.name}'"
      = f.hidden_field :user_id, class: 'hidden'
      .form-group
        = f.label :name
        = f.text_field :name, autofocus: true, class: 'form-control input-lg'
      = f.submit @plan.submit_text, class: 'btn btn-primary pull-right'
{'fraction_non_alphanumeric': 0.15078407720144751, 'fraction_numerical': 0.0048250904704463205, 'mean_word_length': 3.7701149425287355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5299608', 'n_tokens_mistral': 305, 'n_tokens_neox': 295, 'n_words': 79}