Sha256: 130fd83aba621fc3a7dc59d05738c3ec29bc1e0c3a41960a7a294bf02a45b9c5
Contents?: true
Size: 654 Bytes
Versions: 18
Compression:
Stored size: 654 Bytes
Contents
= form_for(@locale, :url => url , :html => {:class => "validation"}) do |f| = gb_error_messages_for(@locale) .span5 %legend Locale %p = f.label :name = f.text_field(:name) %p = f.label :slug = f.text_field(:slug) %p = f.label :slug_type = f.select(:slug_type , options_for_select(Gluttonberg::Locale.all_slug_types , @locale.slug_type ) , :include_blank => "Select Locale Type" , :class => "required" ) %p %label{:for => "gluttonberg_locale_default"} Default = f.check_box(:default, :boolean => true , :class => "checkbox") = form_controls(admin_locales_path) .clear
Version data entries
18 entries across 18 versions & 1 rubygems