Changed domain models. Added page for changing translations (just a model).

Added tag lib.
This commit is contained in:
Prominence
2016-06-27 17:22:08 +03:00
parent f1eda4f146
commit bde8905bfa
13 changed files with 146 additions and 23 deletions
@@ -0,0 +1,9 @@
<g:form action="saveFile" name="${language.languageTag}">
<h3>${language.languageTag.toUpperCase()}</h3>
<g:each in="${language.translations}" var="translation">
<g:set var="key" value="${ts.propertyKey(property: translation)}"/>
<label>${key}</label> <g:textField name="${key}" value="${ts.propertyValue(property: translation)}" />
<br/>
</g:each>
<g:submitButton name="save" class="btn btn-primary" value="${g.message(code: 'plugin.translations.action.save')}"/>
</g:form>