mirror of
https://github.com/Prominence/grails-translations-plugin.git
synced 2026-07-03 10:46:45 +03:00
Changed domain models. Added page for changing translations (just a model).
Added tag lib.
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user