old_contents: from zope.component import adapts
  from zope.component import provideAdapter
  
  from sboard.nodes import CreateView
  from sboard.nodes import DetailsView
  
  from .forms import PolicyIssueForm
  from .interfaces import IVoting
  from .interfaces import IPolicyIssue
  
  
  class VotingView(DetailsView):
      adapts(IVoting)
  
      templates = {
          'details': 'votings/voting_details.html',
      }
  
  provideAdapter(VotingView)
  
  
  class CreatePolicyIssueView(CreateView):
      adapts(object, IPolicyIssue)
  
      form = PolicyIssueForm
  
  provideAdapter(CreatePolicyIssueView, name="create")
  
new_contents: from zope.component import adapts
  from zope.component import provideAdapter
  
  from sboard.nodes import CreateView
  from sboard.nodes import DetailsView
  from sboard.nodes import TagListView
  
  from .forms import PolicyIssueForm
  from .interfaces import IVoting
  from .interfaces import IPolicyIssue
  
  
  class VotingView(DetailsView):
      adapts(IVoting)
  
      templates = {
          'details': 'votings/voting_details.html',
      }
  
  provideAdapter(VotingView)
  
  
  class CreatePolicyIssueView(CreateView):
      adapts(object, IPolicyIssue)
  
      form = PolicyIssueForm
  
  provideAdapter(CreatePolicyIssueView, name="create")
  
  provideAdapter(TagListView, (IPolicyIssue,))
  
subject: Use TagListView for IPolicyIssue as default view.