11 lines
573 B
Plaintext
11 lines
573 B
Plaintext
|
<%= label_tag("color", t("calendar.color")) %>
|
||
|
<div class="input-append">
|
||
|
<%= f.text_field :color, id: "color", :class => "color-picker miniColors input-small", :size => "7", :maxlength => "7", :autocomplete=>"off",:value=>"9100FF" %>
|
||
|
</div>
|
||
|
<%= f.fields_for :title_translations do |f| %>
|
||
|
<% @site_valid_locales.each do |locale| %>
|
||
|
<%= label_tag "name-#{locale}", "#{t(:name)} (#{t(locale)})" %>
|
||
|
<%= f.text_field locale, :class => 'input-large', :value => (@category.title_translations[locale] rescue ''), placeholder: t(:name), id: locale %>
|
||
|
<% end %>
|
||
|
<% end %>
|