Sha256: b24d661fc6fa64c5ceb1506e415f00283cce21e5a8bafa54215f3c15424061df

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

<div class="dropdown">
  <button 
    class="btn btn-default dropdown-toggle" type="button" id="page_module_<%= page_module.id %>_actions" 
    data-toggle="dropdown" aria-expanded="true">
    <%= t('general.actions') %>
    <span class="caret"></span>
  </button>
  <ul class="dropdown-menu" role="menu" aria-labelledby="page_module_<%= page_module.id %>_actions">
    <li role="presentation">
      <%= link_to(
        t('general.destroy'), page_module_path(page_module), id: "page_module_#{page_module.id}", method: :delete, 
        data: { confirm: t('general.questions.are_you_sure') }, remote: true
      ) %>
    </li>
    <li role="presentation">
      &nbsp;&nbsp;
      <button 
        type="button" class="btn btn-default" data-toggle="modal" data-target="#modal" 
        data-url="<%= edit_page_module_path(page_module) %>" 
        data-title="<%= t('page_modules.edit.title') %>" data-only-update-body="false"
      >
        <span class="glyphicon glyphicon-pencil"></span> <%= t('general.edit') %>
      </button>
    </li>
  </ul>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
home_page-0.0.6 app/views/page_modules/_actions.html.erb