Sha256: 091d91b7cc891b91f339ff73869ebf7dd0d401fb5bf040adb3ea6e6d81f3b15d
Contents?: true
Size: 877 Bytes
Versions: 3
Compression:
Stored size: 877 Bytes
Contents
.row-fluid = form_for(@setting, :url => url) do |f| = gb_error_messages_for(@setting) .span5 %legend Setting - if @setting.delete_able %p = f.label :name , "Setting Name" = f.text_field(:name) %p = f.label :value , "Setting Value" = render :partial => "value_tag" , :locals => { :f => f} %p = f.label :values_list , "Setting Value List (; seperated) (optional)" = f.text_area(:values_list , :class => "large tall") %p = f.label :help = f.text_area(:help , :class => "large tall") - else %p = f.label :value , @setting.user_friendly_name = render :partial => "value_tag" , :locals => { :f => f} %p %small= @setting.help %p = form_controls(admin_configurations_path)
Version data entries
3 entries across 3 versions & 1 rubygems