13 lines
552 B
Plaintext
13 lines
552 B
Plaintext
<tr>
|
|
<td>
|
|
<%= calendar_type.title %>
|
|
<div class="quick-edit">
|
|
<ul class="nav nav-pills">
|
|
<% if is_admin?%>
|
|
<li><%= link_to t(:edit),"#", class: "open-slide", onclick: "return false;", data: {title: t(:edit_category), id: calendar_type.id.to_s, form: calendar_type.title_translations.merge(color: calendar_type.color), href: admin_calendar_type_path(calendar_type)} %></li>
|
|
<% end %>
|
|
</ul>
|
|
</div>
|
|
</td>
|
|
<td><span class="badge" style="background-color: <%= calendar_type.color %>;"><%= calendar_type.color %></span></td>
|
|
</tr> |