mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-26 18:31:14 +00:00
* Introduces IconsHelper with methods to render SVG icon from a sprite file. * Adds SVG sprite file with icons mainly from Font Awesome, but also from Material Design Icons and Fluent UI System Icons (based on the work made by Takashi Kato (@tohosaku)). * Replaces specific icons with new SVG icons. * Temporarily keep all old CSS icon definitions for backard compatibility. git-svn-id: https://svn.redmine.org/redmine/trunk@22988 e93f8b46-1217-0410-a6f0-8f06a7374b81
13 lines
549 B
Plaintext
13 lines
549 B
Plaintext
<% unless @custom_field.new_record? %>
|
|
<p>
|
|
<label><%= l(:field_possible_values) %></label>
|
|
<%= link_to icon_with_label('edit', l(:button_edit)), custom_field_enumerations_path(@custom_field), :class => 'icon icon-edit' %>
|
|
</p>
|
|
<% if @custom_field.enumerations.active.any? %>
|
|
<p><%= f.select :default_value, @custom_field.enumerations.active.map{|v| [v.name, v.id.to_s]}, :include_blank => true %></p>
|
|
<% end %>
|
|
<% end %>
|
|
|
|
<p><%= f.text_field :url_pattern, :size => 50, :label => :label_link_values_to %></p>
|
|
<p><%= edit_tag_style_tag f %></p>
|