</div>
<div class="controls-row">
-<label>
+<label class="{{class = abstract_class(work)}}">
<%= locale
-en => 'Abstract ({{work.abstract.length || 0}} from max. 2000 characters with spaces)',
-hr => 'Sažetak ({{work.abstract.length || 0}} od maks. 2000 znakova s razmacima)'
+en => 'Abstract ({{abstract_length(work)}} from max. 2000 characters with spaces)',
+hr => 'Sažetak ({{abstract_length(work)}} od maks. 2000 znakova s razmacima)'
%>
+<textarea class="controls-row span11 {{class}}" ng-model="work.abstract" ng-minlength="2" rows="10" cols="80" ng-required="has_work"></textarea>
+<input type=text ng-model="work.abstract" ng-maxlength="2000" style="display: none">
</label>
-<textarea class="controls-row span11" ng-model="work.abstract" ng-maxlength="2000" rows="10" cols="80" ng-required="has_work" ></textarea>
</div>
% end
<h3><%= locale
en=>'{{$index + 1}}. symposium work',
hr=>'{{$index + 1}}. rad na simpoziju' %>
+<a class="btn btn-danger" href="" ng-click="symposium_work_remove($index)" ng-show="$index > 3"><%= locale
+en => 'delete this symposum work',
+hr => 'obriši rad na simpoziju' %>
+</a>
</h3>
<%= $WorkTemplate->(0) %>
%>
</p>
-% if ( $lang =~ m/-dev/ ) {
-<pre class="controls-row">
+<input style="float:right" title="validation errors" type=checkbox name=debug ng-click="debug = ! debug">
+<pre ng-show="debug">
{{RegistrationForm.$valid}}
{{RegistrationForm.$error}}
+</pre>
+% if ( $lang =~ m/-dev/ ) {
+<pre class="controls-row">
location={{$location.path()}}
+location={{$location}}
+
+{{registration}}
</pre>
% }