Skip to content

Commit

Permalink
Use 'xform half' on the administration form #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Enygma2002 committed Oct 9, 2018
1 parent ccc5250 commit 386a9ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#set ($configClass = $xwiki.getDocument('ClamavConfigurationClass').xWikiClass)
#set ($configObject = $configDoc.getObject($configClass.name))
{{html clean="false"}}
<form action="$configDoc.getURL('save')" class='xform'>
<form action="$configDoc.getURL('save')" class='xform half'>
<dl>
<dt>
<label for='Antivirus.ClamavConfigurationClass_0_host'>$configClass.host.translatedPrettyName</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#set ($configClass = $xwiki.getDocument('ConfigurationClass').xWikiClass)
#set ($configObject = $configDoc.getObject($configClass.name))
{{html clean="false"}}
<form method="post" action="${xwiki.getURL('Antivirus.Configuration', 'save')}" class='xform'>
<form method="post" action="${xwiki.getURL('Antivirus.Configuration', 'save')}" class='xform half'>
<div class="hidden">
<input type='hidden' name='form_token' value="$!{services.csrf.getToken()}" />
<input type='hidden' name='xredirect' value="$xwiki.getRequestURL()" />
Expand Down

0 comments on commit 386a9ab

Please sign in to comment.