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" })