I have two fields in Sitecore:
- Read More Link.
- Read More Title.
I'm using sitecore MVC with glass mapper, and I need to make both fields editable from page eidtor, so I'm using this code :
<div class="callout-footer">
<p>
@using (BeginRenderLink(calloutItem, m => m.ReadMoreLink, new NameValueCollection { { "class", "group-action" } }, isEditable: true))
{
<span class="text">@Editable(calloutItem, m => m.ReadMoreTitle) </span>
}
</p>
</div>
Now I can edit the link, but the title is still not editable. How can I make them both editable from page editor?