Security for user editing only their own content
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
@Html.EditorForModel()
|
||||
<div class="form-actions">
|
||||
<input type="submit" value="Update" class="btn btn-primary" />
|
||||
@Html.ActionLink("Cancel", "Index", new {}, new { @class = "btn btn-mini" })
|
||||
@Html.ActionLink("Cancel", "Index", new {}, new { @class = "btn" })
|
||||
</div>
|
||||
</fieldset>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user