]> source.dussan.org Git - sonarqube.git/commitdiff
Fix html input syntax
authorDavid Gageot <david@gageot.net>
Thu, 5 Jul 2012 08:02:41 +0000 (10:02 +0200)
committerDavid Gageot <david@gageot.net>
Thu, 5 Jul 2012 13:08:42 +0000 (15:08 +0200)
18 files changed:
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/complexity.html.erb
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/test_complexity.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/alerts/_edit.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/alerts/_new.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/dependencies/index.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/filters/_criterion.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/filters/_customize_list.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/profiles/index.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/profiles/projects.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/project_roles/edit_groups.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/edit.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/new.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/_operations.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/available.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/index.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/system_updates.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/users/new.html.erb

index 3eb807b0847fdd3822e9e250e73ca407a208c7e6..f443933d80eccf64b6c88a57ad2cfa50215c3a55 100644 (file)
@@ -85,25 +85,25 @@ complexity=measure('complexity')
  if function_distribution
    count_dist+=1
  %>
-<input type="radio" name="cmp_dist" value="function_complexity_distribution" id="cmp_dist_function_complexity_distribution" onClick="selectComplexity('function_complexity_distribution');" <%= 'checked' if function_distribution==selected_distribution -%>></input> <label for="cmp_dist_function_complexity_distribution"><%= message('metric.functions.name') -%></label>
+<input type="radio" name="cmp_dist" value="function_complexity_distribution" id="cmp_dist_function_complexity_distribution" onClick="selectComplexity('function_complexity_distribution');" <%= 'checked' if function_distribution==selected_distribution -%>/> <label for="cmp_dist_function_complexity_distribution"><%= message('metric.functions.name') -%></label>
 <%
 end
 if paragraph_distribution
   count_dist+=1
 %>
-<input type="radio" name="cmp_dist" value="paragraph_complexity_distribution" id="cmp_dist_paragraph_complexity_distribution" onClick="selectComplexity('paragraph_complexity_distribution');" <%= 'checked' if paragraph_distribution==selected_distribution -%>></input> <label for="cmp_dist_paragraph_complexity_distribution"><%= message('metric.paragraphs.name') -%></label><%= '<br/>' if count_dist==2 %>
+<input type="radio" name="cmp_dist" value="paragraph_complexity_distribution" id="cmp_dist_paragraph_complexity_distribution" onClick="selectComplexity('paragraph_complexity_distribution');" <%= 'checked' if paragraph_distribution==selected_distribution -%>/> <label for="cmp_dist_paragraph_complexity_distribution"><%= message('metric.paragraphs.name') -%></label><%= '<br/>' if count_dist==2 %>
 <%
 end
 if class_distribution
   count_dist+=1
 %>
-<input type="radio" name="cmp_dist" value="class_complexity_distribution" id="cmp_dist_class_complexity_distribution" onClick="selectComplexity('class_complexity_distribution');" <%= 'checked' if class_distribution==selected_distribution -%>></input> <label for="cmp_dist_class_complexity_distribution"><%= message('metric.classes.name') -%></label><%= '<br/>' if count_dist==2 %>
+<input type="radio" name="cmp_dist" value="class_complexity_distribution" id="cmp_dist_class_complexity_distribution" onClick="selectComplexity('class_complexity_distribution');" <%= 'checked' if class_distribution==selected_distribution -%>/> <label for="cmp_dist_class_complexity_distribution"><%= message('metric.classes.name') -%></label><%= '<br/>' if count_dist==2 %>
 <%
 end
 if file_distribution
    count_dist+=1
 %>
-<input type="radio" name="cmp_dist" value="file_complexity_distribution" id="cmp_dist_file_complexity_distribution" onClick="selectComplexity('file_complexity_distribution');" <%= 'checked' if file_distribution==selected_distribution -%>></input> <label for="cmp_dist_file_complexity_distribution"><%= message('metric.files.name') -%></label>
+<input type="radio" name="cmp_dist" value="file_complexity_distribution" id="cmp_dist_file_complexity_distribution" onClick="selectComplexity('file_complexity_distribution');" <%= 'checked' if file_distribution==selected_distribution -%>/> <label for="cmp_dist_file_complexity_distribution"><%= message('metric.files.name') -%></label>
 <% end %>
 
  </form>
index 3eb807b0847fdd3822e9e250e73ca407a208c7e6..f443933d80eccf64b6c88a57ad2cfa50215c3a55 100644 (file)
@@ -85,25 +85,25 @@ complexity=measure('complexity')
  if function_distribution
    count_dist+=1
  %>
-<input type="radio" name="cmp_dist" value="function_complexity_distribution" id="cmp_dist_function_complexity_distribution" onClick="selectComplexity('function_complexity_distribution');" <%= 'checked' if function_distribution==selected_distribution -%>></input> <label for="cmp_dist_function_complexity_distribution"><%= message('metric.functions.name') -%></label>
+<input type="radio" name="cmp_dist" value="function_complexity_distribution" id="cmp_dist_function_complexity_distribution" onClick="selectComplexity('function_complexity_distribution');" <%= 'checked' if function_distribution==selected_distribution -%>/> <label for="cmp_dist_function_complexity_distribution"><%= message('metric.functions.name') -%></label>
 <%
 end
 if paragraph_distribution
   count_dist+=1
 %>
-<input type="radio" name="cmp_dist" value="paragraph_complexity_distribution" id="cmp_dist_paragraph_complexity_distribution" onClick="selectComplexity('paragraph_complexity_distribution');" <%= 'checked' if paragraph_distribution==selected_distribution -%>></input> <label for="cmp_dist_paragraph_complexity_distribution"><%= message('metric.paragraphs.name') -%></label><%= '<br/>' if count_dist==2 %>
+<input type="radio" name="cmp_dist" value="paragraph_complexity_distribution" id="cmp_dist_paragraph_complexity_distribution" onClick="selectComplexity('paragraph_complexity_distribution');" <%= 'checked' if paragraph_distribution==selected_distribution -%>/> <label for="cmp_dist_paragraph_complexity_distribution"><%= message('metric.paragraphs.name') -%></label><%= '<br/>' if count_dist==2 %>
 <%
 end
 if class_distribution
   count_dist+=1
 %>
-<input type="radio" name="cmp_dist" value="class_complexity_distribution" id="cmp_dist_class_complexity_distribution" onClick="selectComplexity('class_complexity_distribution');" <%= 'checked' if class_distribution==selected_distribution -%>></input> <label for="cmp_dist_class_complexity_distribution"><%= message('metric.classes.name') -%></label><%= '<br/>' if count_dist==2 %>
+<input type="radio" name="cmp_dist" value="class_complexity_distribution" id="cmp_dist_class_complexity_distribution" onClick="selectComplexity('class_complexity_distribution');" <%= 'checked' if class_distribution==selected_distribution -%>/> <label for="cmp_dist_class_complexity_distribution"><%= message('metric.classes.name') -%></label><%= '<br/>' if count_dist==2 %>
 <%
 end
 if file_distribution
    count_dist+=1
 %>
-<input type="radio" name="cmp_dist" value="file_complexity_distribution" id="cmp_dist_file_complexity_distribution" onClick="selectComplexity('file_complexity_distribution');" <%= 'checked' if file_distribution==selected_distribution -%>></input> <label for="cmp_dist_file_complexity_distribution"><%= message('metric.files.name') -%></label>
+<input type="radio" name="cmp_dist" value="file_complexity_distribution" id="cmp_dist_file_complexity_distribution" onClick="selectComplexity('file_complexity_distribution');" <%= 'checked' if file_distribution==selected_distribution -%>/> <label for="cmp_dist_file_complexity_distribution"><%= message('metric.files.name') -%></label>
 <% end %>
 
  </form>
index 72a26668db336e9741799edd9ec43da2c61285ba..273f8c23a7d5dfad9c34aea06279fe02dfefc5c2 100644 (file)
@@ -20,7 +20,7 @@
     <%= value_field(alert, alert.value_error, 'alert[value_error]') %> <%= alert.metric.suffix if alert.metric %>
   </td>
   <td width="120px" nowrap>
-    <input id="alert_submit" type="submit" value="<%= message('update_verb') -%>"></input>
+    <input id="alert_submit" type="submit" value="<%= message('update_verb') -%>"/>
     <%= link_to message('delete'), {:action => 'delete', :id => alert.id, :profile_id =>@profile.id}, :confirm => message('are_you_sure'), :method => :post, :class => 'action', :id => "delete_#{u alert.name}" %>
   </td>
 </tr>
index e877483affe7f29bfbb707e1ff19cfa6d5bbdd5f..028a58d96915c60fa09c028600299b6c1e5c7979 100644 (file)
@@ -49,7 +49,7 @@
   </td>
 
   <td width="120px" nowrap valign="top">
-    <input type="submit" value="<%= message('create') -%>" id="submit_create"></input>
+    <input type="submit" value="<%= message('create') -%>" id="submit_create"/>
   </td>
 </tr>
 </table>
index 0535341e2ca9d27e51fd21bad21cfab7a57ead60..631e84f3563255ed96e5368ca1dc75d14a5b1129 100644 (file)
@@ -25,7 +25,7 @@ padding: 5px;
 </style>
 <form action="<%= ApplicationController.root_context -%>/dependencies/index" id="search_form">
   <input type="text" name="search" value="<%= params[:search] -%>" id="search_input"> </input>
-  <input type="submit" value="<%= message('dependencies.search_library') -%>" id="search_submit"></input><br/>
+  <input type="submit" value="<%= message('dependencies.search_library') -%>" id="search_submit"/><br/>
   <p class="small gray"><%= message('dependencies.search_help') -%></p>
 </form>
 
index 34d80b2abce2d1d5c09dfb54c2a4972f4e9287a3..f1c6c016dcbf4432d058925c0dd6161deec65bd4 100644 (file)
@@ -28,5 +28,5 @@
   <option value=">" <%= 'selected' if (criterion && criterion.operator=='>') -%>><%= message('greater_than') -%></option>
   <option value=">=" <%= 'selected' if (criterion && criterion.operator=='>=') -%>><%= message('greater_or_equals') -%></option>
 </select>
-<input type="text" name="criteria[<%= id -%>][value]" size="5" value="<%= criterion.value if criterion -%>" id="val-<%= id -%>"></input>
+<input type="text" name="criteria[<%= id -%>][value]" size="5" value="<%= criterion.value if criterion -%>" id="val-<%= id -%>"/>
 <a href="#" onClick="reset_criterion(<%= id -%>);return false;"><%= message('reset_verb') -%></a>
\ No newline at end of file
index 34d2879e6e335c2fb54266e0e357dd6a57dc6ae8..59f7e5313af98b1238b9e4022ced56598d45d80c 100644 (file)
@@ -27,7 +27,7 @@
         </optgroup>
       <% end %>
     </select>
-    <input type="submit" id="add_column_button" value="<%= message('add_verb') -%>"></input>
+    <input type="submit" id="add_column_button" value="<%= message('add_verb') -%>"/>
     </form>
   </td>
 </tr>
@@ -55,8 +55,8 @@
   <td class="keyCell"><%= message('page_size') -%>:</td>
   <td>
     <form id="page_size_form" action="<%= url_for :action => 'set_page_size' -%>" method="post">
-      <input type="hidden" name="id" value="<%= @filter.id -%>"></input>
-      <input type="text" name="size" value="<%= @filter.page_size -%>" maxsize="3" size="3"></input>
+      <input type="hidden" name="id" value="<%= @filter.id -%>"/>
+      <input type="text" name="size" value="<%= @filter.page_size -%>" maxsize="3" size="3"/>
       <input type="submit" id="set_page_size_submit" value="<%= message('change_verb') -%>"/>
       <span class="comments"><%= message('min') -%> <%= ::Filter::MIN_PAGE_SIZE -%>, <%= message('max').downcase -%> <%= ::Filter::MAX_PAGE_SIZE -%></span>
    </td>
index 10f67a4e247bbe96c18f8b3c3dc90d7516f5acda..f107558bf2332712cf04d2209061519606963ef5 100644 (file)
 
 <% if administrator? %>
   <form class="admin" id="create-form-<%= language.getKey()-%>" action="<%= url_for :action => 'create' -%>" style="display: none" enctype="multipart/form-data" method="post">
-    <input type="hidden" name="language" value="<%= language.getKey() -%>"></input>
+    <input type="hidden" name="language" value="<%= language.getKey() -%>"/>
     <table class="spaced width100">
       <tr>
         <td width="1%" nowrap><%= message('name') -%>: </td>
-        <td><input type="text" name="name" id="create-form-<%= language.getKey()-%>-name"></input></td>
+        <td><input type="text" name="name" id="create-form-<%= language.getKey()-%>-name"/></td>
       </tr>
       <% importers.to_a.sort{|x,y| x.getName() <=> y.getName()}.each do |importer| %>
       <tr>
         <td width="1%" nowrap><%= importer.getName() -%>: </td>
         <td>
-          <%= file_field_tag "backup[#{importer.getKey()}]" %></input>
+          <%= file_field_tag "backup[#{importer.getKey()}]" %>
           <span class="note"><%= message('quality_profiles.optional_configuration_file') -%></span>
         </td>
       </tr>
@@ -68,7 +68,7 @@
 
       <tr>
         <td colspan="2">
-          <input type="submit" value="<%= message('quality_profiles.create_x_language_profile', :params => language.getName()) -%>" id="create-submit-<%= language.getKey() -%>"></input>
+          <input type="submit" value="<%= message('quality_profiles.create_x_language_profile', :params => language.getName()) -%>" id="create-submit-<%= language.getKey() -%>"/>
           <a href="#" onclick="$('create-form-<%= language.getKey()-%>').reset();$('create-form-<%= language.getKey()-%>').hide();return false;"><%= message('cancel') -%></a>
         </td>
       </tr>
          <td align="right">
           <% if !profile.provided? %>
              <% form_tag(:action => 'backup', :id => profile.id) do -%>
-              <input type="submit" name="button_backup" id="backup_<%= u profile.key %>" value="<%= message('backup_verb') -%>"></input>
+              <input type="submit" name="button_backup" id="backup_<%= u profile.key %>" value="<%= message('backup_verb') -%>"/>
             <% end
             end %>
         </td>
index dec38c6717247d6ff72de3c54399a2508c9c97f1..8a155a8adbd4e16063a4e15925abc854dd6e1c3d 100644 (file)
@@ -4,7 +4,7 @@
 <div class="tabs-panel">
 <% if is_admin? %>
 <form action="<%= url_for :action => 'set_projects' -%>" method="post" id="select_projects_form">
-  <input type="hidden" name="id" value="<%= @profile.id -%>"></input>
+  <input type="hidden" name="id" value="<%= @profile.id -%>"/>
 <table>
   <tr>
     <td style="padding: 5px 0" valign="top">
@@ -27,7 +27,7 @@
       <%= options_from_collection_for_select(@profile.projects, "id", "name") %>
       </select><br/>
     <div style="padding:5px 0">
-          <input type="submit" id="save" value="<%= message('save') -%>" onclick="SelectBox.select_all('to');submit();"></input>
+          <input type="submit" id="save" value="<%= message('save') -%>" onclick="SelectBox.select_all('to');submit();"/>
          </div>
   </td>
 </tr>
index 79dc598dbce6d42b2b6ec474c259315bd924f87b..26546c894d4470da659ff3912129e12bc4c8786e 100644 (file)
@@ -7,8 +7,8 @@
 <br/>
 <div>
   <form action="<%= url_for :action => 'grant_groups' -%>" method="post">
-    <input name="resource" value="<%= @project.id -%>" type="hidden"></input>
-    <input name="role" value="<%= @role -%>" type="hidden"></input>
+    <input name="resource" value="<%= @project.id -%>" type="hidden"/>
+    <input name="role" value="<%= @role -%>" type="hidden"/>
     <table>
       <tbody>
         <tr>
index 63990f20cd006bb22bd6b925df5a10c9d89de566..408e3d325c686c7e3c576a1458a66a99dfa3d3db 100644 (file)
@@ -28,7 +28,7 @@
   <tr>
     <td width="1%" nowrap><%= message('name') -%>:</td>
     <td class="sep"> </td>
-    <td><input type="text" name="rule[name]" size="80" value="<%= h @rule.name -%>"></input></td>
+    <td><input type="text" name="rule[name]" size="80" value="<%= h @rule.name -%>" /></td>
   </tr>
   <tr>
     <td width="1%" nowrap><%= message('default_severity') -%>:</td>
@@ -44,7 +44,7 @@
       <td width="1%" nowrap><%= parameter.name %>:</td>
       <td class="sep"> </td>
       <td>
-        <input type="text" name="rule_param[<%= u parameter.name -%>]" value="<%= h parameter.default_value -%>"></input>
+        <input type="text" name="rule_param[<%= u parameter.name -%>]" value="<%= h parameter.default_value -%>" />
         <span class="small"><%= parameter.description %></span>
       </td>
     </tr>
@@ -59,8 +59,8 @@
   </tr>
   <tr>
     <td colspan="3">
-      <input type="submit" value="<%= message('update_verb') -%>"></input>
-      <input type="submit" value="<%= message('delete') -%>" onclick="return deleteRule()" class="red-button"></input>
+      <input type="submit" value="<%= message('update_verb') -%>" />
+      <input type="submit" value="<%= message('delete') -%>" onclick="return deleteRule()" class="red-button" />
       <a href="<%= url_for :action => 'index', :id => @profile.id -%>"><%= message('cancel') -%></a>
     </td>
   </tr>
index fc3374104f0a0ecfb0021aa75d21e6b6671c5912..5eb908c96f02ce04309230470718af5f455cb44a 100644 (file)
@@ -14,7 +14,7 @@
   <tr>
     <td width="1%" nowrap><%= message('name') -%>:</td>
     <td class="sep"> </td>
-    <td><input type="text" name="rule[name]" size="80"></input></td>
+    <td><input type="text" name="rule[name]" size="80"/></td>
   </tr>
   <tr>
     <td width="1%" nowrap><%= message('default_severity') -%>:</td>
@@ -30,7 +30,7 @@
       <td width="1%" nowrap><%= parameter.name %>:</td>
       <td class="sep"> </td>
       <td>
-        <input type="text" name="rule_param[<%= parameter.name -%>]" value=""></input>
+        <input type="text" name="rule_param[<%= parameter.name -%>]" value=""/>
         <span class="small"><%= parameter.description %></span>
       </td>
     </tr>
@@ -45,7 +45,7 @@
   </tr>
   <tr>
     <td colspan="3">
-      <input type="submit" value="<%= message('create') -%>"></input> <a href="<%= url_for :action => 'index', :id => @profile.id -%>"><%= message('cancel') -%></a>
+      <input type="submit" value="<%= message('create') -%>"/> <a href="<%= url_for :action => 'index', :id => @profile.id -%>"><%= message('cancel') -%></a>
     </td>
   </tr>
 </table>
index 6798933c73c3d2e37256d99ecc94bea19f7ae73e..dec69e8c8f8a011fea410f006f4db9a441564c56 100644 (file)
@@ -16,7 +16,7 @@
     <li><%= uninstall -%></li>
   <% end %>
   </ul>
-  <input type="submit" value="Cancel uninstalls"></input>
+  <input type="submit" value="Cancel uninstalls"/>
 </p>
 </form>
 <% end %>
@@ -28,7 +28,7 @@
     <li><%= download -%></li>
   <% end %>
   </ul>
-  <input type="submit" value="Cancel pending installations"></input>
+  <input type="submit" value="Cancel pending installations"/>
 </p>
 </form>
 <% end %>
index 0e82b72feef29660d75a9636c929a72278022223..d96b398f17afcdbc66d13189ea0cea72048cf6a0 100644 (file)
@@ -71,10 +71,10 @@ function installPlugin(key) {
             <tr>
               <td colspan="2">
               <% if plugin.getTermsConditionsUrl() %>
-              <input type="checkbox" id="tc-<%= plugin.getKey() -%>"></input> I accept the <%= link_to 'Terms and Conditions', plugin.getTermsConditionsUrl(), :class => 'external' %>
+              <input type="checkbox" id="tc-<%= plugin.getKey() -%>"/> I accept the <%= link_to 'Terms and Conditions', plugin.getTermsConditionsUrl(), :class => 'external' %>
               <% end %>
               <form method="post" action="<%= ApplicationController.root_context -%>/updatecenter/install?from=available&key=<%= plugin.getKey() -%>&version=<%= update.getRelease().getVersion() -%>" style="display: inline-block" id="install-form-<%= plugin.getKey() -%>">
-                <input type="submit" value="Install" onClick="installPlugin('<%= plugin.getKey() -%>');return false;" id="submit-<%= plugin.getKey() -%>"></input>
+                <input type="submit" value="Install" onClick="installPlugin('<%= plugin.getKey() -%>');return false;" id="submit-<%= plugin.getKey() -%>"/>
               </form>
             </td>
             </tr>
index 710b6071d8a46a6419e0c2ba44be6ad78dbcdafb..7f3e3191e019a78dbcaee1da2abaea673bb460d3 100644 (file)
@@ -46,7 +46,7 @@
           <tr>
             <td colspan="2">
              <form method="post" action="<%= ApplicationController.root_context -%>/updatecenter/uninstall?key=<%= plugin.getKey() -%>" style="display: inline-block">
-               <input type="submit" value="Uninstall" class="red-button"></input>
+               <input type="submit" value="Uninstall" class="red-button"/>
              </form>
               </td>
             </tr>
index 1c71d8c1649e3ce2d7ace75dd1ff38ad2e179c48..a52a6d8996840f9191947bc2c2092499ef5f2b0b 100644 (file)
                    <% update.getIncompatiblePlugins().each do |incompatible_plugin| %>
                       <li>
                       <form method="post" action="<%= ApplicationController.root_context -%>/updatecenter/uninstall?key=<%= incompatible_plugin.getKey() -%>&amp;from=system_updates" style="display: inline-block">
-                        <%= image_tag 'warning.png' -%> <input type="submit" value="Uninstall" class="red-button" onClick="return submitForm(this);"></input> the plugin <%= incompatible_plugin.getName() -%> which is not compatible with Sonar <%= release.getVersion() -%>.
+                        <%= image_tag 'warning.png' -%> <input type="submit" value="Uninstall" class="red-button" onClick="return submitForm(this);"/> the plugin <%= incompatible_plugin.getName() -%> which is not compatible with Sonar <%= release.getVersion() -%>.
                       </form>
                    </li>
              <% end %>
            <% update.getPluginsToUpgrade().each do |plugin_to_upgrade| %>
                    <li>
                     <form method="post" id="upgrade-form-<%= plugin_to_upgrade.getArtifact().getKey() -%>" action="<%= ApplicationController.root_context -%>/updatecenter/install?key=<%= plugin_to_upgrade.getArtifact().getKey() -%>&amp;version=<%= plugin_to_upgrade.getVersion() -%>&amp;from=system_updates" style="display: inline-block">
-                      <input type="submit" id="upgrade-submit-<%= plugin_to_upgrade.getArtifact().getKey() -%>" value="Upgrade" onClick="return submitForm(this);"></input>
+                      <input type="submit" id="upgrade-submit-<%= plugin_to_upgrade.getArtifact().getKey() -%>" value="Upgrade" onClick="return submitForm(this);"/>
                       the plugin <%= plugin_to_upgrade.getArtifact().getName() -%> to version <%= plugin_to_upgrade.getVersion() -%>
                     </form>
                  </li>
index d7b3e30696ff976b65b8804634f1404d3d7eb09c..1966fd952416d6bcbdf5311ce6644ff554528dc1 100644 (file)
@@ -53,7 +53,7 @@ function upgradePlugin(key) {
          <td> </td>
          <td colspan="5">
           <form method="post" id="upgrade-form-<%= plugin.getKey() -%>" action="<%= ApplicationController.root_context -%>/updatecenter/install?from=updates&key=<%= plugin.getKey() -%>&version=<%= @last_compatible[plugin.getKey()] -%>" style="display: inline-block">
-             <input type="submit" id="upgrade-submit-<%= plugin.getKey() -%>" value="Upgrade to <%= @last_compatible[plugin.getKey()] -%>" onClick="upgradePlugin('<%= plugin.getKey() -%>');return false;"></input>
+             <input type="submit" id="upgrade-submit-<%= plugin.getKey() -%>" value="Upgrade to <%= @last_compatible[plugin.getKey()] -%>" onClick="upgradePlugin('<%= plugin.getKey() -%>');return false;"/>
            </form>
           </td>
         </tr>
index 8c775b96406c4495ed554ed5b6151852c0744307..e53d6638f74e532e4b9b7ad7026dd238f3312e79 100644 (file)
@@ -5,20 +5,20 @@
         <form action="<%= url_for :controller => 'users', :action => 'signup' -%>" method="post">
           <h3><%= label_tag 'user_login', message('login') %></h3>
           <p>
-            <input id="user_login" name="user[login]" size="30" type="text" ></input>
+            <input id="user_login" name="user[login]" size="30" type="text"/>
             <br/><span class="desc"><%= message('sessions.old_account', :params => [url_for(:controller => 'sessions', :action => 'new')]) -%></span>
           </p>
 
           <h3><%= label_tag 'user_name', message('name') %></h3>
           <p>
-            <input id="user_name" name="user[name]" size="30" type="text" ></input>
+            <input id="user_name" name="user[name]" size="30" type="text"/>
           </p>
           <h3><%= label_tag 'user_password', message('password') %></h3>
-          <p><input id="user_password" maxLength="50" name="user[password]" size="30" type="password"></input></p>
+          <p><input id="user_password" maxLength="50" name="user[password]" size="30" type="password"/></p>
 
           <h3><%= label_tag 'user_password_confirmation', message('sessions.confirm_password') %></h3>
           <p>
-            <input id="user_password_confirmation" maxLength="50" name="user[password_confirmation]" size="30" type="password"></input>
+            <input id="user_password_confirmation" maxLength="50" name="user[password_confirmation]" size="30" type="password"/>
           </p>
           <p>
             <%= submit_tag message('sessions.sign_up') %> <a href="<%= home_path -%>" class="action"><%= message('cancel') -%></a>