From d1cd3997b12b88780603449596f931c5ab352870 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 25 Mar 2017 12:36:01 -0400 Subject: [PATCH] Fix post view. --- Project-Unite/Views/Skins/PostSkin.cshtml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Project-Unite/Views/Skins/PostSkin.cshtml b/Project-Unite/Views/Skins/PostSkin.cshtml index 840d3ac..fc57e05 100644 --- a/Project-Unite/Views/Skins/PostSkin.cshtml +++ b/Project-Unite/Views/Skins/PostSkin.cshtml @@ -7,15 +7,15 @@

Want to post your skin to the repository? Alright, just fill out this form and we'll do everything for you.

-@using (Html.BeginForm()) +@using (Html.BeginForm("PostSkin", "Skins", null, FormMethod.Post, new { enctype = "multipart/form-data" })) {
@Html.ValidationSummary()
@Html.AntiForgeryToken() - - + + @@ -28,11 +28,11 @@ - + - +
Title:
Title: @Html.TextBoxFor(Model=>Model.Title, new{@class="form-control"})
Skin file:
This is the actual skin - you can upload it to the repository and we'll host it for you. Skins are exported by the Skin Loader into
My Documents\ShiftOS_Shared\skins
.
@Html.EditorFor(Model=>Model.SkinFile, new { @class = "form-control" })@Html.TextBoxFor(Model=>Model.SkinFile, new { @class = "form-control", type="file" })
Screenshot:
Here you can upload a main screenshot to show on the repo index and view skin pages. This isn't required, but is recommended so that users can see what your skin looks like before applying it.
@Html.EditorFor(Model => Model.ScreenshotFile, new { @class = "form-control" })@Html.TextBoxFor(Model => Model.ScreenshotFile, new { @class = "form-control", type="file" })