<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2010 %> <% save_button_id = "edit_license_button_save" button_id = "edit_license_button_close" form_id = "edit_license" dialog_id = "edit_license_dialog" if @license.license_type == License::TRIAL_TYPE dialog_title = t ".trial_title" else dialog_title = t ".primary_title" end if @license.new_record? url = create_licenses_path() else url = update_license_path(:id => @license.id) end %> <% tagged_popup_remote_form_for(form_id, dialog_id, @license, url) do |form| %>
<%= form.text_field :license_code, {:size => 55, :dojoType => "helpsys.ext.TextBox", :allowBlank => false, :fieldLabel => t('.license_code'), :maxLength => 256, :anchor => '95%'} %> <%= form.hidden_field :license_type%>
<%= error_messages_for 'license' %>
<% end %>