summaryrefslogtreecommitdiff
path: root/horizon/templates/horizon/common/_data_table_row_action_row.html
blob: 4cdd83418042ab3987dedd9f8e91e276318a42ba (plain)
1
2
3
4
5
6
7
8
9
10
11
{% if action.method != "GET" %}
  <button {{ action.attr_string|safe }} name="action" value="{{ action.table.name }}__{{ action.name }}__{{ row_id }}" type="submit">
    {% if action.icon != None %}<span class="fa fa-{{ action.icon }}"></span> {% endif %}
    {{ action.verbose_name }}
  </button>
{% else %}
  <a href="{{ action.bound_url }}" title="{{ action.verbose_name }}" {{ action.attr_string|safe }}>
    {% if action.icon != None %}<span class="fa fa-{{ action.icon }}"></span> {% endif %}
    {{ action.verbose_name }}
  </a>
{% endif %}