forked from saurabh/orbit4-5
15 lines
672 B
Plaintext
15 lines
672 B
Plaintext
<%= Rails.logger.info"@@@@@"+attribute.inspect %>
|
|
|
|
<tr>
|
|
<td><%= attribute.key %></td>
|
|
<td>
|
|
<%= attribute.title %>
|
|
<div class="quick-edit">
|
|
<ul class="nav nav-pills">
|
|
<%= content_tag(:li, link_to(t(:add_attribute_field),edit_admin_member_info_path(attribute))) if current_user.is_admin? %>
|
|
<%= content_tag(:li, link_to(t(:delete_),admin_member_info_path(attribute), data: { confirm: t('sure?') }, method: :delete, class: "text-error", remote: true)) if current_user.is_admin? %>
|
|
</ul>
|
|
</div>
|
|
</td>
|
|
<td><%= attribute.key %></td>
|
|
</tr> |