<commit_before>﻿@using EmpleoDotNet.Core.Domain
@using EmpleoDotNet.Helpers
@using EmpleoDotNet.Models
@model EmpleoDotNet.ViewModel.JobOpportunitySearchViewModel

@{
    #region categories

    var categories = new[]
    {
        new
        {
            Description = JobCategory.MobileDevelopment.ToEnumDescription(),
            Link = @Url.Action("Index", "JobOpportunity", new { JobCategory = JobCategory.MobileDevelopment })
        },
        new
        {
            Description = JobCategory.WebDevelopment.ToEnumDescription(),
            Link = @Url.Action("Index", "JobOpportunity", new { JobCategory = JobCategory.WebDevelopment })
        },
        new
        {
            Description = JobCategory.SoftwareDevelopment.ToEnumDescription(),
            Link = @Url.Action("Index", "JobOpportunity", new { JobCategory = JobCategory.MobileDevelopment })
        },
        new
        {
            Description = JobCategory.GraphicDesign.ToEnumDescription(),
            Link = @Url.Action("Index", "JobOpportunity", new { JobCategory = JobCategory.GraphicDesign })
        },
    };

    #endregion

    #region keywords

    var keywords = new[]
    {
        new
        {
            Description = "C#",
            Link = @Url.Action("Index", "JobOpportunity", new { Keyword = "C#" })
        },
        new
        {
            Description = ".NET",
            Link = @Url.Action("Index", "JobOpportunity", new { Keyword = ".net" })
        },
        new
        {
            Description = "javascript",
            Link = @Url.Action("Index", "JobOpportunity", new { Keyword = "javascript" })
        },
        new
        {
            Description = "PHP",
            Link = @Url.Action("Index", "JobOpportunity", new { Keyword = "PHP" })
        },
        new
        {
            Description = "Java",
            Link = @Url.Action("Index", "JobOpportunity", new { Keyword = "Java" })
        },
        new
        {
            Description = "xamarin",
            Link = @Url.Action("Index", "JobOpportunity", new { Keyword = "xamarin" })
        }
    };

    #endregion
}

<div class="container" style="margin-top: 50px;">
    <div class="row">
        <div class="col-md-9 col-lg-9">
            <p class="search-job-title">Buscar Empleos</p>
            @using (Html.BeginForm("Index", "JobOpportunity", FormMethod.Get))
            {
                <div class="row">
                    <div class="col-md-4">
                        <div class="form-group">
                            <label for="Keyword">
                                <strong>Keywords</strong>
                            </label>
                            @Html.TextBoxFor(m => m.Keyword, new {@class = "form-control", placeholder = "título, descripción o companía"})
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="form-group">
                            <label for="Location">
                                <strong>Localidad</strong>
                            </label>
                            @Html.DropDownListFor(d => d.SelectedLocation,
                                Model.Locations,
                                new {@class = "form-control", id = "location"})
                        </div>
                        <div class="form-group hidden-sm hidden-lg hidden-md">
                            @Html.CheckBoxFor(m => m.IsRemote)
                            <label for="IsRemote">Buscar solo empleos remotos</label>
                        </div>
                    </div>
                    <div class="col-md-2">
                        <input type="submit" class="btn btn-primary search-job-button" value="Buscar"/>
                    </div>
                </div>
                <div class="form-group hidden-xs">
                    @Html.CheckBoxFor(m => m.IsRemote)
                    <label for="IsRemote">Buscar solo empleos remotos</label>
                </div>
            }
            <div class="row">
                <p class="search-job-label">
                    <strong>Keywords :</strong>
                    @foreach (var keyword in keywords)
                    {
                        <span class="search-job-label-item"><a href="@keyword.Link">@keyword.Description</a></span>
                    }
                </p>
                <p class="search-job-label">
                    <strong>Categorias :</strong>
                    @foreach (var category in categories)
                    {
                        <span class="search-job-label-item"><a href="@category.Link">@category.Description</a></span>
                    }
                </p>
            </div>
        </div>
    </div>
</div>
<commit_msg>Fixed html structure and removed duplicate input<commit_after>﻿@using EmpleoDotNet.Core.Domain
@using EmpleoDotNet.Helpers
@using EmpleoDotNet.Models
@model EmpleoDotNet.ViewModel.JobOpportunitySearchViewModel

@{
    #region categories

    var categories = new[]
    {
        new
        {
            Description = JobCategory.MobileDevelopment.ToEnumDescription(),
            Link = @Url.Action("Index", "JobOpportunity", new { JobCategory = JobCategory.MobileDevelopment })
        },
        new
        {
            Description = JobCategory.WebDevelopment.ToEnumDescription(),
            Link = @Url.Action("Index", "JobOpportunity", new { JobCategory = JobCategory.WebDevelopment })
        },
        new
        {
            Description = JobCategory.SoftwareDevelopment.ToEnumDescription(),
            Link = @Url.Action("Index", "JobOpportunity", new { JobCategory = JobCategory.MobileDevelopment })
        },
        new
        {
            Description = JobCategory.GraphicDesign.ToEnumDescription(),
            Link = @Url.Action("Index", "JobOpportunity", new { JobCategory = JobCategory.GraphicDesign })
        },
    };

    #endregion

    #region keywords

    var keywords = new[]
    {
        new
        {
            Description = "C#",
            Link = @Url.Action("Index", "JobOpportunity", new { Keyword = "C#" })
        },
        new
        {
            Description = ".NET",
            Link = @Url.Action("Index", "JobOpportunity", new { Keyword = ".net" })
        },
        new
        {
            Description = "javascript",
            Link = @Url.Action("Index", "JobOpportunity", new { Keyword = "javascript" })
        },
        new
        {
            Description = "PHP",
            Link = @Url.Action("Index", "JobOpportunity", new { Keyword = "PHP" })
        },
        new
        {
            Description = "Java",
            Link = @Url.Action("Index", "JobOpportunity", new { Keyword = "Java" })
        },
        new
        {
            Description = "xamarin",
            Link = @Url.Action("Index", "JobOpportunity", new { Keyword = "xamarin" })
        }
    };

    #endregion
}

<div class="container" style="margin-top: 50px;">
    <div class="row">
        <div class="col-md-9 col-lg-9">
            <p class="search-job-title">Buscar Empleos</p>
            @using (Html.BeginForm("Index", "JobOpportunity", FormMethod.Get))
            {
                <div class="row">
                    <div class="col-md-8" style="padding-left: 0">
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="Keyword">
                                    <strong>Keywords</strong>
                                </label>
                                @Html.TextBoxFor(m => m.Keyword, new { @class = "form-control", placeholder = "título, descripción o companía" })
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="Location">
                                    <strong>Localidad</strong>
                                </label>
                                @Html.DropDownListFor(d => d.SelectedLocation,
                                    Model.Locations,
                                    new { @class = "form-control", id = "location" })
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                @Html.CheckBoxFor(m => m.IsRemote)
                                <label for="IsRemote">Buscar solo empleos remotos</label>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <input type="submit" class="btn btn-primary search-job-button" value="Buscar" />
                    </div>
                </div>
            }
            <div class="row">
                <p class="search-job-label">
                    <strong>Keywords :</strong>
                    @foreach (var keyword in keywords)
                    {
                        <span class="search-job-label-item"><a href="@keyword.Link">@keyword.Description</a></span>
                    }
                </p>
                <p class="search-job-label">
                    <strong>Categorias :</strong>
                    @foreach (var category in categories)
                    {
                        <span class="search-job-label-item"><a href="@category.Link">@category.Description</a></span>
                    }
                </p>
            </div>
        </div>
    </div>
</div>

{'fraction_non_alphanumeric': 0.12734820965230928, 'fraction_numerical': 0.0017644006227296315, 'mean_word_length': 1.2667607621736061, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 120, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 17, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2644546', 'n_tokens_mistral': 2546, 'n_tokens_neox': 2398, 'n_words': 464}