Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
ulakbus-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ulakbus
ulakbus-ui
Commits
9c6c859e
Commit
9c6c859e
authored
Jun 16, 2015
by
Evren Kutar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
student add template and route
parent
96de1a07
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
app.js
app/app.js
+4
-4
student_add_template.html
app/student/student_add_template.html
+6
-0
No files found.
app/app.js
View file @
9c6c859e
...
@@ -57,12 +57,12 @@ angular.module(
...
@@ -57,12 +57,12 @@ angular.module(
}]
}]
}
}
})
})
.
when
(
'/
test
'
,
{
.
when
(
'/
student_add
'
,
{
templateUrl
:
'
test_view_for_generator/test
_template.html'
,
templateUrl
:
'
student/student_add
_template.html'
,
controller
:
'
Test
Ctrl'
,
controller
:
'
StudentAdd
Ctrl'
,
resolve
:
{
resolve
:
{
loadMyCtrl
:
[
'$ocLazyLoad'
,
function
(
$ocLazyLoad
)
{
loadMyCtrl
:
[
'$ocLazyLoad'
,
function
(
$ocLazyLoad
)
{
return
$ocLazyLoad
.
load
(
'
test_view_for_generator/testfile
.js'
);
return
$ocLazyLoad
.
load
(
'
student/student_add
.js'
);
}]
}]
}
}
})
})
...
...
app/student/student_add_template.html
0 → 100644
View file @
9c6c859e
<div
ng-app=
"zaerp.student.add"
>
<div
class=
"col-md-6"
ng-controller=
""
>
<h1>
{{ form.name }}
</h1>
<form
name=
"{{ form.formname }}"
sf-schema=
"schema"
sf-form=
"form"
sf-model=
"model"
ng-submit=
"onSubmit()"
></form>
</div>
</div>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment