<div id="create-modal" class="modal in" role="dialog">
  <div class="modal-dialog">
    <div class="modal-header">
      <button class="close" type="button" data-dismiss="modal">&times;</button>
      <h4 class="modal-title"><%= _('Create plan') %></h4>
    </div>
    <div class="modal-body">
      <p><%= d_('dmpopidor', 'Would you like to create a plan based on the "%{name}" template?') % { name: @template.title }%></p>
    </div>
    <div class="modal-footer">
      <%= direct_link(@template, false, _('Yes')) %>
      <button class="btn btn-default" data-dismiss="modal"><%= _('No') %></button>
    </div>
  </div>
</div>
