Skip to content

Commit 15839a9

Browse files
committed
Remove mandatory restriction on org::impId
1 parent 6cccf76 commit 15839a9

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

app/application.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#Grails Metadata file
2-
#Wed Jan 29 16:23:34 GMT 2014
3-
app.buildDate=Jan 29, 2014
4-
app.buildNumber=2661
2+
#Thu Jan 30 08:07:25 GMT 2014
3+
app.buildDate=Jan 30, 2014
4+
app.buildNumber=2663
55
app.buildProfile=development
66
app.grails.version=2.3.4
77
app.name=demo

app/grails-app/domain/com/k_int/kbplus/Org.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class Org {
4444
}
4545

4646
static constraints = {
47+
impId(nullable:true, blank:true,maxSize:256);
4748
address(nullable:true, blank:true,maxSize:256);
4849
ipRange(nullable:true, blank:true, maxSize:1024);
4950
sector(nullable:true, blank:true, maxSize:128);

app/grails-app/views/org/_form.gsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<g:message code="org.sector.label" default="Sector" />
2424

2525
</label>
26-
<g:textField name="sector" maxlength="128" value="${orgInstance?.sector}"/>
26+
<g:select name="sector" from="${['Higher Education']}" value="${orgInstance?.sector}" />
2727
</div>
2828

2929
<div class="fieldcontain ${hasErrors(bean: orgInstance, field: 'ids', 'error')} ">

0 commit comments

Comments
 (0)