@using Petwork.Domain.ValueObjects.Profiles
@model BusinessProfileForm
@{
ViewBag.Title = "Edit your business profile";
Layout = "~/Views/Shared/_LayoutThreeBars.cshtml";
// to be hijacked
// this is a grid view of all pictures within an album
// hijacked version shows the first picture in picture-view mode.
}
@using (Html.BeginForm())
{
@Html.ValidationSummary(true)
@Resources.Profile.ServiceTags:
@Resources.Profile.ServiceTags
@Html.TextBoxFor(model => model.ServiceTagsForm, new { Class = "stags-autocomplete" })
@Html.ValidationMessageFor(model => model.ServiceTagsForm)
@Resources.Profile.Address
@Resources.Profile.Street
@Html.EditorFor(model => model.AddressStreetAndNumber)
@Html.ValidationMessageFor(model => model.AddressStreetAndNumber)
@Resources.Profile.City
@Html.TextBoxFor(model => model.AddressCityName, new { Class = "city" })
@Html.ValidationMessageFor(model => model.AddressCityName)
@Resources.Profile.State
@Html.TextBoxFor(model => model.State, new { Class = "state" })
@Html.ValidationMessageFor(model => model.State)
@Resources.Profile.Zip
@Html.EditorFor(model => model.AddressPostalCode)
@Html.ValidationMessageFor(model => model.AddressPostalCode)
@Resources.Profile.Country
@Html.TextBoxFor(model => model.Country, new { Class = "country" })
@Html.ValidationMessageFor(model => model.Country)
@Resources.Profile.Latitude
@Html.EditorFor(model => model.AddressLatitude)
@Html.ValidationMessageFor(model => model.AddressLatitude)
@Resources.Profile.Longitude
@Html.EditorFor(model => model.AddressLongitude)
@Html.ValidationMessageFor(model => model.AddressLongitude)
@Resources.Profile.Contact
@Resources.Profile.Phone
@Html.EditorFor(model => model.PhoneNumber)
@Html.ValidationMessageFor(model => model.PhoneNumber)
@Resources.Profile.Website
@Html.EditorFor(model => model.Website)
@Html.ValidationMessageFor(model => model.Website)
@Resources.Profile.Description
@Resources.Profile.Headline
@Html.TextBoxFor(model => model.Headline, new { Class = "w400p" })
@Html.ValidationMessageFor(model => model.Headline)
@Resources.Profile.LongDescription
@Html.TextAreaFor(model => model.LongDescription, new { Class = "markItUp" })
@Html.ValidationMessageFor(model => model.LongDescription)
@Resources.Profile.About
@Html.TextAreaFor(model => model.About, new { Class = "markItUp" })
@Html.ValidationMessageFor(model => model.About)
@Resources.Profile.History
@Html.TextAreaFor(model => model.History, new { Class = "markItUp" })
@Html.ValidationMessageFor(model => model.History)
@Resources.Profile.MoreSections
@if (Model.SectionNames != null)
{
for (var i = 0; i < Model.SectionNames.Length; i++)
{
@Model.SectionNames[i]:
}
}
}
@section sidebar
{
@Html.Partial("_Sidebar")
}
@section aside{
@Resources.Profile.MoreForBusiness
@Resources.Profile.Suggestions
}
@section foot {
@* javascript ("~/Scripts/p4p.stags.js")" *@
@* javascript ("~/Scripts/p4p.cities.js")" *@
}