<%= form_for @attribute,:url => eval("admin_#{@attribute_type}s_path") ,:class=> "form-horizontal", :id=>"new_bulletin_category", remote: true do |f| %>
<%= t(eval(":#{@attribute_type}"))%> <% if @attribute.new_record? %> <%= f.text_field :key, :class => "input-large", :placeholder => t(:key) %> <% else %>
<%= @attribute.key%>
<% end %> <% @site_in_use_locales.each_with_index do |locale, i| %> "> <% end %>
<%= f.submit t('submit'), :class=>'btn btn-primary btn-small' %> <%= link_to t('cancel'), 'javascript:$.pageslide.close()', :class=>" btn-small" %>
<% end %>