<commit_before><div class="area_WS" style="margin-bottom:20px;">
  <fieldset>
    <% form_for @workspace, :builder => BlankFormBuilder do |f| -%>
      <% f.field :logo, :label => I18n.t('workspace.field.logo_label') + " :" do %>
        <%= File.basename(@workspace.logo_file_name) + '<br />' if @workspace.logo_file_name %>
        <%= file_field 'workspace', 'logo' %>
      <% end %>
      <%= f.text_field :title, :label => I18n.t('workspace.field.title_label')+" * : " %>
      <%= f.advanced_editor :description, :label => I18n.t('workspace.field.description_label') +' : ' %>
      <% if @workspace.state != 'private' %>
        <%= f.select :state, get_sa_config['sa_ws_types'].map{ |e| [I18n.t('workspace.type.'+e), e] }, :label => I18n.t('workspace.field.state_label')+' :' %>
      <% else %>
        <%= f.select :state, [I18n.t('workspace.type.private'), 'private'], :label => I18n.t('workspace.field.state_label')+' :', :disabled => (@workspace.state == 'private') %>
      <% end %>
      <br /><br />
      <% if @current_object.new_record? || check=@current_object.accepts_administration_for?(@current_user) %>
          <%= f.label I18n.t('workspace.edit.workspace_configuration')+" : " %><br /><commit_msg>paperclip problem solved in workspace for logo<commit_after><div class="area_WS" style="margin-bottom:20px;">
  <fieldset>
    <% form_for @workspace, :builder => BlankFormBuilder ,:html => { :multipart => true } do |f| -%>
      <% f.field :logo, :label => I18n.t('workspace.field.logo_label') + " :" do %>
        <%= File.basename(@workspace.logo_file_name) + '<br />' if @workspace.logo_file_name %>
        <%= file_field 'workspace', 'logo' %>
      <% end %>
      <%= f.text_field :title, :label => I18n.t('workspace.field.title_label')+" * : " %>
      <%= f.advanced_editor :description, :label => I18n.t('workspace.field.description_label') +' : ' %>
      <% if @workspace.state != 'private' %>
        <%= f.select :state, get_sa_config['sa_ws_types'].map{ |e| [I18n.t('workspace.type.'+e), e] }, :label => I18n.t('workspace.field.state_label')+' :' %>
      <% else %>
        <%= f.select :state, [I18n.t('workspace.type.private'), 'private'], :label => I18n.t('workspace.field.state_label')+' :', :disabled => (@workspace.state == 'private') %>
      <% end %>
      <br /><br />
      <% if @current_object.new_record? || check=@current_object.accepts_administration_for?(@current_user) %>
          <%= f.label I18n.t('workspace.edit.workspace_configuration')+" : " %><br />
{'fraction_non_alphanumeric': 0.2227958697378872, 'fraction_numerical': 0.014297061159650517, 'mean_word_length': 3.699626865671642, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2252187', 'n_tokens_mistral': 965, 'n_tokens_neox': 887, 'n_words': 131}