<% if session[:user] %> <% end %> <% @content.each do |field| %> <% end %>
Name Type Description<%=t '.actions', :default => t("helpers.actions") %>
<%= simple_format link_to field.label, attribute_field_path(field) %> <%= simple_format field.field_type %> <%= simple_format field.description %> <% if session[:user] and session[:user] == field.user.id %> <%= link_to t('.view', :default => t("helpers.links.view")), attribute_field_path(field), :class => 'btn' %> <%= link_to t('.edit', :default => t("helpers.links.edit")), attribute_field_edit_path(field), :class => 'btn' %> <% end %>