<commit_before>module Animals.Pages.AddPage exposing (..)

import Animals.Pages.AllPage as Common

import Html exposing (..)
import Html.Attributes exposing (..)
import Pile.Bulma as Bulma
import String
import Dict
import Set

import Animals.Animal.Types exposing (..)
import Animals.Animal.Lenses exposing (..)
import Animals.Msg exposing (..)
import Animals.Animal.EditableView as RW
import Animals.Animal.Validation exposing (ValidationContext)

view model =
  let
    validationContext = Common.calculateValidationContext model
    whichToShow =
      model.newAnimals
        |> Dict.values
        |> Common.humanSorted
        |> Common.contextualize validationContext
  in
    div []
      [ Bulma.headerlessTable whichToShow<commit_msg>A dummy line to add fresh animals.<commit_after>module Animals.Pages.AddPage exposing (..)

import Animals.Pages.AllPage as Common

import Html exposing (..)
import Html.Attributes exposing (..)
import Pile.Bulma as Bulma
import String
import Dict
import Set

import Animals.Animal.Types exposing (..)
import Animals.Animal.Lenses exposing (..)
import Animals.Msg exposing (..)
import Animals.Animal.EditableView as RW
import Animals.Animal.Validation exposing (ValidationContext)

view model =
  let
    validationContext = Common.calculateValidationContext model
    whichToShow =
      model.newAnimals
        |> Dict.values
        |> Common.humanSorted
        |> Common.contextualize validationContext
  in
    div []
      [ nav [class "level is-mobile"]
          [ div [class "level-left" ]
              [ div [class "level-item"]
                  [ text "Create" ]
              , div [class "level-item"]
                [ input [ class "input", type' "text", value "1"
                        , style [("width", "3em")]
                        ] []
                ]
              , div [class "level-item"]
                [ text "new" ]
              , div [class "level-item"]
                [ Bulma.simpleSelect
                    [ option [value "bovine"] [ text "bovine" ]
                    , option [value "equine"] [ text "equine" ]
                    ]
                ]
              , div [class "level-item"]
                [ text "animal to edit" ]
              , div [class "level-item"]
                [ a [ class "button is-primary" ] [text "Now"]]
              ]

          ]
      , Bulma.headerlessTable whichToShow
{'fraction_non_alphanumeric': 0.10195588847274241, 'fraction_numerical': 0.0008322929671244278, 'mean_word_length': 2.0353535353535355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '2343894', 'n_tokens_mistral': 698, 'n_tokens_neox': 640, 'n_words': 177}