@page
@model SuggestionHelpersModel
@{
    ViewData["Title"] = "Suggestion Helpers";
}

<div class="text-left">
    <table>
        <tr>
            <th>Title</th>
            <th>Description</th>
        </tr>
        @foreach (var helper in @Model.SuggestionHelpers)
        {
            var title = helper.Title; var description = helper.Description;
            <tr>
                <td>@title</td>
                <td>@description</td>
            </tr>
        }
    </table>  
    <hr />
    <form method="post">
        <label asp-for="NewSuggestionTitle">Title</label>
        <input asp-for="NewSuggestionTitle" />
        <br />
        <label asp-for="NewSuggestionDescription">Description</label>
        <input asp-for="NewSuggestionDescription" /> 
        <br />
        <input type="submit" title="Submit" />
    </form>      
</div>
