Sha256: c3b7564d621c587953c3739dce4ad3c13b8d08b57641025fa42e1de10b503f1b

Contents?: true

Size: 415 Bytes

Versions: 2

Compression:

Stored size: 415 Bytes

Contents

<%#
    name: headmin/table/actions/action
    accepts block: no
    parameters:
      path: (string) url to send request to
      method: (string) HTTP method for the request
%>
<% path = local_assigns.has_key?(:url) ? local_assigns[:url] : request.path %>
<% method = local_assigns.has_key?(:method) ? local_assigns[:method] : 'GET' %>
<option value="<%= path %>" data-method="<%= method %>"><%= name %></option>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
headmin-0.1.2 app/views/headmin/table/actions/_action.html.erb
headmin-0.1.1 app/views/headmin/table/actions/_action.html.erb