<commit_before>﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Commencement.Core.Domain.Survey>>" %>
<%@ Import Namespace="Commencement.Controllers" %>
<%@ Import Namespace="Commencement.Controllers.Helpers" %>
<%@ Import Namespace="Telerik.Web.Mvc.UI" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Surveys
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div class="page_bar">
    <div class="col1"><h2>Surveys</h2></div>
    <div class="col2"><%= Html.ActionLink<SurveyController>(a => a.Create(), "Create New", new { @class="button" })%></div>
    </div>

    <% Html.Grid(Model)
        .Name("Surveys")
        .Columns(col =>
                    {
                        col.Template(a =>
                                    {   %>
                                        <%= Html.ActionLink<SurveyController>(b=>b.Edit(a.Id), "Edit", new{@class="button"}) %>                                            
                                        <%= Html.ActionLink("Preview", "Preview", new {id=a.Id}, new {@class="button"}) %>
                                        <%= Html.ActionLink("Responses", "Results", new {id=a.Id}, new {@class="button"}) %>
                                        <%
                                    });
                        col.Bound(a => a.Name);
                        col.Bound(a => a.Created);
                    } )
        .Pageable()
        .Render();
        <commit_msg>updated edit link<commit_after>﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Commencement.Core.Domain.Survey>>" %>
<%@ Import Namespace="Commencement.Controllers" %>
<%@ Import Namespace="Commencement.Controllers.Helpers" %>
<%@ Import Namespace="Telerik.Web.Mvc.UI" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Surveys
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div class="page_bar">
    <div class="col1"><h2>Surveys</h2></div>
    <div class="col2"><%= Html.ActionLink<SurveyController>(a => a.Create(), "Create New", new { @class="button" })%></div>
    </div>

    <% Html.Grid(Model)
        .Name("Surveys")
        .Columns(col =>
                    {
                        col.Template(a =>
                                    {   %>
                                        <%= Html.ActionLink("Edit", "Edit", new {id=a.Id}, new{@class="button"}) %>                                            
                                        <%= Html.ActionLink("Preview", "Preview", new {id=a.Id}, new {@class="button"}) %>
                                        <%= Html.ActionLink("Responses", "Results", new {id=a.Id}, new {@class="button"}) %>
                                        <%
                                    });
                        col.Bound(a => a.Name);
                        col.Bound(a => a.Created);
                    } )
        .Pageable()
        .Render();
        
{'fraction_non_alphanumeric': 0.17329545454545456, 'fraction_numerical': 0.003787878787878788, 'mean_word_length': 1.7085470085470085, 'pattern_counts': {'":': 0, '<': 52, '<?xml version=': 0, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 22, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7302651', 'n_tokens_mistral': 927, 'n_tokens_neox': 870, 'n_words': 126}