e76d4c5c4c
* Changed TimelogHelper#activity_collection_for_select_options to only use active TimeEntryActivities. * Changed TimelogHelper#activity_collection_for_select_options to return a blank option if the time_entry's current activity is inactive. #4077 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2946 e93f8b46-1217-0410-a6f0-8f06a7374b81
20 lines
628 B
Plaintext
20 lines
628 B
Plaintext
<%= error_messages_for 'enumeration' %>
|
|
<div class="box">
|
|
<!--[form:optvalue]-->
|
|
<%= hidden_field 'enumeration', 'type' %>
|
|
|
|
<p><label for="enumeration_name"><%=l(:field_name)%></label>
|
|
<%= text_field 'enumeration', 'name' %></p>
|
|
|
|
<p><label for="enumeration_active"><%=l(:field_active)%></label>
|
|
<%= check_box 'enumeration', 'active' %></p>
|
|
|
|
<p><label for="enumeration_is_default"><%=l(:field_is_default)%></label>
|
|
<%= check_box 'enumeration', 'is_default' %></p>
|
|
<!--[eoform:optvalue]-->
|
|
|
|
<% @enumeration.custom_field_values.each do |value| %>
|
|
<p><%= custom_field_tag_with_label :enumeration, value %></p>
|
|
<% end %>
|
|
</div>
|