You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_attachments.html.erb 887B

123456789101112131415161718192021
  1. <%= form_tag({:action => 'edit', :tab => 'attachments'}) do %>
  2. <div class="box tabular settings">
  3. <p><%= setting_text_field :attachment_max_size, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p>
  4. <p><%= setting_text_area :attachment_extensions_allowed %>
  5. <em class="info"><%= l(:text_comma_separated) %> <%= l(:label_example) %>: txt, png</em></p>
  6. <p><%= setting_text_area :attachment_extensions_denied %>
  7. <em class="info"><%= l(:text_comma_separated) %> <%= l(:label_example) %>: js, swf</em></p>
  8. <p><%= setting_text_field :file_max_size_displayed, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p>
  9. <p><%= setting_text_field :diff_max_lines_displayed, :size => 6 %></p>
  10. <p><%= setting_text_field :repositories_encodings, :size => 60 %>
  11. <em class="info"><%= l(:text_comma_separated) %></em></p>
  12. </div>
  13. <%= submit_tag l(:button_save) %>
  14. <% end %>