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

@{
    #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.TextBoxFor(m => m.SelectedLocationName, new
                                {
                                    @class = "form-control",
                                    id = "location-input",
                                    autocomplete = "off"
                                 })
                                @Html.HiddenFor(m => m.SelectedLocationPlaceId, new { id = "location-placeid" })
                                @Html.HiddenFor(m => m.SelectedLocationLatitude, new { id = "location-latitude" })
                                @Html.HiddenFor(m => m.SelectedLocationLongitude, new { id = "location-longitude" })
                            </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>Sugerencias :</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>Categorías :</strong>
                    @foreach (var category in Model.CategoriesCount)
                    {
                        <span class="search-job-label-item"><a href="@Url.Action("Index", "JobOpportunity", new { category.JobCategory })">@category.JobCategory.ToEnumDescription() <span class="badge">@category.Count</span> </a></span>
                    }
                </p>
            </div>
        </div>
    </div>
</div><commit_msg>Fix BUSCAR SOLO EMPLEOS REMOTO #546<commit_after>﻿@using EmpleoDotNet.Helpers
@model EmpleoDotNet.ViewModel.JobOpportunitySearchViewModel

@{
    #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.TextBoxFor(m => m.SelectedLocationName, new
                            {
                                @class = "form-control",
                                id = "location-input",
                                autocomplete = "off"
                            })
                            @Html.HiddenFor(m => m.SelectedLocationPlaceId, new { id = "location-placeid" })
                            @Html.HiddenFor(m => m.SelectedLocationLatitude, new { id = "location-latitude" })
                            @Html.HiddenFor(m => m.SelectedLocationLongitude, new { id = "location-longitude" })
                        </div>
                    </div>

                </div>
                <div class="col-md-4">
                    <input type="submit" class="btn btn-primary search-job-button" value="Buscar" />
                </div>
                <div class="col-md-8" style="padding-left: 0">
                    <p class="search-job-label">
                        <strong>Buscar solo empleos remotos: </strong><label for="IsRemote"></label>
                        @Html.CheckBoxFor(m => m.IsRemote)
                    </p>
                    <p class="search-job-label">
                        <strong>Sugerencias :</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>Categorías :</strong>
                        @foreach (var category in Model.CategoriesCount)
                        {
                            <span class="search-job-label-item"><a href="@Url.Action("Index", "JobOpportunity", new { category.JobCategory })">@category.JobCategory.ToEnumDescription() <span class="badge">@category.Count</span> </a></span>
                        }
                    </p>
                </div>
            </div>
            }
        </div>
    </div>
</div>
{'fraction_non_alphanumeric': 0.13257313982953237, 'fraction_numerical': 0.0027643400138217, 'mean_word_length': 1.1250611845325502, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 0, '>': 129, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6607008', 'n_tokens_mistral': 2286, 'n_tokens_neox': 2171, 'n_words': 410}