kwartz 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +36 -1
- data/LGPL +504 -0
- data/README.txt +16 -2
- data/bin/kwartz +1 -1
- data/doc-api/classes/Kwartz.html +47 -1
- data/doc-api/classes/Kwartz/Assertion.html +6 -6
- data/doc-api/classes/Kwartz/AssertionError.html +6 -6
- data/doc-api/classes/Kwartz/AttrInfo.html +42 -42
- data/doc-api/classes/Kwartz/BaseError.html +12 -12
- data/doc-api/classes/Kwartz/BaseTranslator.html +210 -43
- data/doc-api/classes/Kwartz/CharacterType.html +24 -24
- data/doc-api/classes/Kwartz/CommandOptionError.html +7 -7
- data/doc-api/classes/Kwartz/CommandOptions.html +49 -49
- data/doc-api/classes/Kwartz/Config.html +6 -1
- data/doc-api/classes/Kwartz/ConvertError.html +14 -14
- data/doc-api/classes/Kwartz/Converter.html +31 -30
- data/doc-api/classes/Kwartz/CssStyleParser.html +79 -57
- data/doc-api/classes/Kwartz/Defun.html +313 -0
- data/doc-api/classes/Kwartz/DocumentRuleset.html +58 -58
- data/doc-api/classes/Kwartz/ElementExpander.html +32 -32
- data/doc-api/classes/Kwartz/ElementInfo.html +29 -29
- data/doc-api/classes/Kwartz/ElementRuleset.html +126 -96
- data/doc-api/classes/Kwartz/EperlHandler.html +108 -84
- data/doc-api/classes/Kwartz/EperlTranslator.html +7 -7
- data/doc-api/classes/Kwartz/ErubisHandler.html +2 -2
- data/doc-api/classes/Kwartz/ErubisTranslator.html +8 -8
- data/doc-api/classes/Kwartz/ErubyHandler.html +2 -220
- data/doc-api/classes/Kwartz/ErubyTranslator.html +7 -7
- data/doc-api/classes/Kwartz/ExpandStatement.html +20 -20
- data/doc-api/classes/Kwartz/Handler.html +122 -117
- data/doc-api/classes/Kwartz/HandlerArgument.html +215 -0
- data/doc-api/classes/Kwartz/Helper.html +112 -0
- data/doc-api/classes/Kwartz/Helper/ActionViewHelper.html +221 -0
- data/doc-api/classes/Kwartz/Helper/RailsTemplate.html +630 -0
- data/doc-api/classes/Kwartz/JstlHandler.html +208 -193
- data/doc-api/classes/Kwartz/JstlTranslator.html +15 -15
- data/doc-api/classes/Kwartz/KwartzError.html +6 -6
- data/doc-api/classes/Kwartz/Main.html +39 -23
- data/doc-api/classes/Kwartz/NativeExpression.html +18 -18
- data/doc-api/classes/Kwartz/NativeStatement.html +25 -25
- data/doc-api/classes/Kwartz/Node.html +6 -6
- data/doc-api/classes/Kwartz/PIErubisHandler.html +113 -0
- data/doc-api/classes/Kwartz/PIErubisTranslator.html +200 -0
- data/doc-api/classes/Kwartz/ParseError.html +6 -6
- data/doc-api/classes/Kwartz/PhpHandler.html +102 -83
- data/doc-api/classes/Kwartz/PhpTranslator.html +14 -14
- data/doc-api/classes/Kwartz/PresentationLogicParser.html +136 -128
- data/doc-api/classes/Kwartz/PrintStatement.html +19 -19
- data/doc-api/classes/Kwartz/RailsHandler.html +121 -118
- data/doc-api/classes/Kwartz/RailsTranslator.html +7 -7
- data/doc-api/classes/Kwartz/RubyHandler.html +349 -0
- data/doc-api/classes/Kwartz/RubyStyleParser.html +85 -85
- data/doc-api/classes/Kwartz/RubyTranslator.html +218 -0
- data/doc-api/classes/Kwartz/StatementHelper.html +479 -0
- data/doc-api/classes/Kwartz/StrutsTranslator.html +12 -12
- data/doc-api/classes/Kwartz/TagInfo.html +28 -28
- data/doc-api/classes/Kwartz/TextConverter.html +28 -28
- data/doc-api/classes/Kwartz/Translator.html +42 -42
- data/doc-api/classes/Kwartz/Util.html +284 -0
- data/doc-api/created.rid +1 -1
- data/doc-api/files/__/README_txt.html +30 -3
- data/doc-api/files/kwartz/assert_rb.html +1 -1
- data/doc-api/files/kwartz/binding/eperl_rb.html +2 -2
- data/doc-api/files/kwartz/binding/erubis_rb.html +3 -3
- data/doc-api/files/kwartz/binding/eruby_rb.html +3 -2
- data/doc-api/files/kwartz/binding/jstl_rb.html +2 -2
- data/doc-api/files/kwartz/binding/php_rb.html +2 -2
- data/doc-api/files/kwartz/binding/pierubis_rb.html +116 -0
- data/doc-api/files/kwartz/binding/rails_rb.html +2 -2
- data/doc-api/files/kwartz/binding/ruby_rb.html +115 -0
- data/doc-api/files/kwartz/binding/struts_rb.html +1 -1
- data/doc-api/files/kwartz/config_rb.html +2 -2
- data/doc-api/files/kwartz/converter_rb.html +3 -2
- data/doc-api/files/kwartz/defun_rb.html +116 -0
- data/doc-api/files/kwartz/error_rb.html +1 -1
- data/doc-api/files/kwartz/helper/rails_rb.html +123 -0
- data/doc-api/files/kwartz/main_rb.html +5 -2
- data/doc-api/files/kwartz/node_rb.html +2 -2
- data/doc-api/files/kwartz/parser_rb.html +2 -2
- data/doc-api/files/kwartz/translator_rb.html +2 -2
- data/doc-api/files/kwartz/util/assert-text-equal_rb.html +1 -1
- data/doc-api/files/kwartz/util/testcase-helper_rb.html +2 -2
- data/doc-api/files/kwartz/util_rb.html +107 -0
- data/doc-api/files/kwartz_rb.html +3 -2
- data/doc-api/fr_class_index.html +11 -0
- data/doc-api/fr_file_index.html +5 -0
- data/doc-api/fr_method_index.html +242 -190
- data/doc/p-pattern.html +94 -94
- data/doc/reference.html +847 -612
- data/doc/users-guide.html +744 -241
- data/examples/rails1/README +2 -2
- data/examples/rails1/application_helper.rb +2 -27
- data/examples/rails1/link_to.plogic +5 -5
- data/examples/rails1/list.plogic +2 -2
- data/examples/rails2/app/controllers/application.rb +14 -0
- data/examples/rails2/app/controllers/groups_controller.rb +47 -0
- data/examples/rails2/app/controllers/members_controller.rb +56 -0
- data/examples/rails2/app/helpers/application_helper.rb +6 -0
- data/examples/rails2/app/helpers/groups_helper.rb +2 -0
- data/examples/rails2/app/helpers/members_helper.rb +2 -0
- data/examples/rails2/app/models/group.rb +2 -0
- data/examples/rails2/app/models/member.rb +3 -0
- data/examples/rails2/app/views/groups/_form.html +30 -0
- data/examples/rails2/app/views/groups/_form.plogic +11 -0
- data/examples/rails2/app/views/groups/_link.plogic +19 -0
- data/examples/rails2/app/views/groups/_read.plogic +7 -0
- data/examples/rails2/app/views/groups/edit.cfg.yaml +2 -0
- data/examples/rails2/app/views/groups/edit.html +26 -0
- data/examples/rails2/app/views/groups/edit.plogic +9 -0
- data/examples/rails2/app/views/groups/list.html +48 -0
- data/examples/rails2/app/views/groups/list.plogic +32 -0
- data/examples/rails2/app/views/groups/new.cfg.yaml +2 -0
- data/examples/rails2/app/views/groups/new.html +27 -0
- data/examples/rails2/app/views/groups/new.plogic +9 -0
- data/examples/rails2/app/views/groups/show.html +27 -0
- data/examples/rails2/app/views/groups/show.plogic +2 -0
- data/examples/rails2/app/views/layouts/groups.html +23 -0
- data/examples/rails2/app/views/layouts/groups.plogic +11 -0
- data/examples/rails2/app/views/layouts/members.html +23 -0
- data/examples/rails2/app/views/layouts/members.plogic +11 -0
- data/examples/rails2/app/views/layouts/members2.html +24 -0
- data/examples/rails2/app/views/layouts/members2.plogic +11 -0
- data/examples/rails2/app/views/members/_form.plogic +27 -0
- data/examples/rails2/app/views/members/_link.plogic +19 -0
- data/examples/rails2/app/views/members/_read.plogic +29 -0
- data/examples/rails2/app/views/members/edit.cfg.yaml +6 -0
- data/examples/rails2/app/views/members/edit.html +27 -0
- data/examples/rails2/app/views/members/edit.plogic +10 -0
- data/examples/rails2/app/views/members/list.html +53 -0
- data/examples/rails2/app/views/members/list.plogic +32 -0
- data/examples/rails2/app/views/members/new.html +61 -0
- data/examples/rails2/app/views/members/new.plogic +17 -0
- data/examples/rails2/app/views/members/show.html +41 -0
- data/examples/rails2/app/views/members/show.plogic +3 -0
- data/examples/rails2/db/create-tables.mysql.sql +27 -0
- data/examples/rails2/db/create-tables.pgsql.sql +27 -0
- data/examples/rails2/db/insert-data.sql +21 -0
- data/examples/rails2/db/tabledef.yaml +51 -0
- data/kwartz.gemspec +4 -4
- data/lib/kwartz.rb +10 -2
- data/lib/kwartz/assert.rb +1 -1
- data/lib/kwartz/binding/eperl.rb +85 -61
- data/lib/kwartz/binding/erubis.rb +6 -8
- data/lib/kwartz/binding/eruby.rb +5 -120
- data/lib/kwartz/binding/jstl.rb +116 -101
- data/lib/kwartz/binding/php.rb +79 -60
- data/lib/kwartz/binding/pierubis.rb +58 -0
- data/lib/kwartz/binding/rails.rb +45 -42
- data/lib/kwartz/binding/ruby.rb +193 -0
- data/lib/kwartz/binding/struts.rb +1 -1
- data/lib/kwartz/config.rb +4 -3
- data/lib/kwartz/converter.rb +231 -68
- data/lib/kwartz/defun.rb +126 -0
- data/lib/kwartz/error.rb +1 -1
- data/lib/kwartz/helper/rails.rb +437 -0
- data/lib/kwartz/main.rb +30 -38
- data/lib/kwartz/node.rb +46 -31
- data/lib/kwartz/parser.rb +43 -15
- data/lib/kwartz/translator.rb +104 -6
- data/lib/kwartz/util.rb +113 -0
- data/lib/kwartz/util/assert-text-equal.rb +1 -1
- data/lib/kwartz/util/testcase-helper.rb +26 -8
- data/test/test-compile.rb +3 -3
- data/test/test-compile.yaml +135 -5
- data/test/test-converter.rb +16 -8
- data/test/test-converter.yaml +307 -76
- data/test/test-directives.rb +1 -1
- data/test/test-directives.yaml +964 -979
- data/test/test-main.rb +61 -146
- data/test/test-main.yaml +235 -0
- data/test/test-parser.rb +10 -12
- data/test/test-parser.yaml +484 -326
- data/test/test-rails.rb +1 -1
- data/test/test-rails.yaml +37 -37
- data/test/test-ruleset.rb +1 -1
- data/test/test-ruleset.yaml +34 -40
- data/test/test.rb +1 -1
- metadata +82 -3
- data/COPYING +0 -340
@@ -0,0 +1,27 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Show group</title>
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
|
8
|
+
<h1 id="page_title">Show Group</h1>
|
9
|
+
|
10
|
+
<div id="page_content">
|
11
|
+
|
12
|
+
<p>
|
13
|
+
<b>Name:</b>
|
14
|
+
<span id="mark:group_name">group name</span>
|
15
|
+
</p>
|
16
|
+
<p>
|
17
|
+
<b>Description:</b>
|
18
|
+
<span id="mark:group_desc">group desription</span>
|
19
|
+
</p>
|
20
|
+
|
21
|
+
<a href="#" id="link_to_edit">Edit</a> |
|
22
|
+
<a href="#" id="link_to_list">Back</a>
|
23
|
+
|
24
|
+
</div>
|
25
|
+
|
26
|
+
</body>
|
27
|
+
</html>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<title id="mark:header_title">...header title...</title>
|
5
|
+
<link rel="stylesheet" type="text/css" href="scaffold.css" id="mark:stylesheet" />
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
7
|
+
</head>
|
8
|
+
<body>
|
9
|
+
|
10
|
+
<p style="color: green" id="mark:flash_notice"></p>
|
11
|
+
|
12
|
+
<h1 id="replace_content_with_content:page_title">...page title...</h1>
|
13
|
+
|
14
|
+
<div id="replace_element_with_content:page_content">
|
15
|
+
...page content...
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<div style="text-align: right; font-size: x-small;">
|
19
|
+
copyright© 2006 kuwata-lab.com all rights reserved.
|
20
|
+
</div>
|
21
|
+
|
22
|
+
</body>
|
23
|
+
</html>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<title id="mark:header_title">...header title...</title>
|
5
|
+
<link rel="stylesheet" type="text/css" href="scaffold.css" id="mark:stylesheet" />
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
7
|
+
</head>
|
8
|
+
<body>
|
9
|
+
|
10
|
+
<p style="color: green" id="mark:flash_notice"></p>
|
11
|
+
|
12
|
+
<h1 id="replace_content_with_content:page_title">...page title...</h1>
|
13
|
+
|
14
|
+
<div id="replace_element_with_content:page_content">
|
15
|
+
...page content...
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<div style="text-align: right; font-size: x-small;">
|
19
|
+
copyright© 2006 kuwata-lab.com all rights reserved.
|
20
|
+
</div>
|
21
|
+
|
22
|
+
</body>
|
23
|
+
</html>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<title id="mark:header_title">...header title...</title>
|
5
|
+
<link rel="stylesheet" type="text/css" href="scaffold.css" id="mark:stylesheet" />
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
7
|
+
</head>
|
8
|
+
<body style="background-color: #CCF">
|
9
|
+
<p>layout=members2</p>
|
10
|
+
|
11
|
+
<p style="color: green" id="mark:flash_notice"></p>
|
12
|
+
|
13
|
+
<h1 id="replace_content_with_content:page_title">...page title...</h1>
|
14
|
+
|
15
|
+
<div id="replace_element_with_content:page_content">
|
16
|
+
...page content...
|
17
|
+
</div>
|
18
|
+
|
19
|
+
<div style="text-align: right; font-size: x-small;">
|
20
|
+
copyright© 2006 kuwata-lab.com all rights reserved.
|
21
|
+
</div>
|
22
|
+
|
23
|
+
</body>
|
24
|
+
</html>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
#error_messages {
|
2
|
+
elem: error_messages_for 'member';
|
3
|
+
}
|
4
|
+
|
5
|
+
#member_name {
|
6
|
+
elem: text_field 'member', 'name';
|
7
|
+
}
|
8
|
+
|
9
|
+
#member_email {
|
10
|
+
elem: text_field 'member', 'email';
|
11
|
+
}
|
12
|
+
|
13
|
+
#member_birth {
|
14
|
+
elem: date_select 'member', 'birth';
|
15
|
+
}
|
16
|
+
|
17
|
+
#member_gender_m {
|
18
|
+
elem: radio_button 'member', 'gender', 'M';
|
19
|
+
}
|
20
|
+
#member_gender_w {
|
21
|
+
elem: radio_button 'member', 'gender', 'W';
|
22
|
+
}
|
23
|
+
|
24
|
+
#member_group_id {
|
25
|
+
elem: select 'member', 'group_id', @group_select_options, :include_blank=>true;
|
26
|
+
}
|
27
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#link_to_list {
|
2
|
+
stag: start_link_tag :action=>'list';
|
3
|
+
}
|
4
|
+
|
5
|
+
#link_to_new {
|
6
|
+
stag: start_link_tag :action=>'new';
|
7
|
+
}
|
8
|
+
|
9
|
+
#link_to_show {
|
10
|
+
stag: start_link_tag :action=>'show', :id=>@member.id;
|
11
|
+
}
|
12
|
+
|
13
|
+
#link_to_edit {
|
14
|
+
stag: start_link_tag :action=>'edit', :id=>@member.id;
|
15
|
+
}
|
16
|
+
|
17
|
+
#link_to_destroy {
|
18
|
+
stag: start_link_tag({:action=>'destroy', :id=>@member.id}, :confirm=>'Are you sure?');
|
19
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
|
2
|
+
#member_name {
|
3
|
+
Value: @member.name;
|
4
|
+
}
|
5
|
+
|
6
|
+
#member_email {
|
7
|
+
Value: @member.email;
|
8
|
+
}
|
9
|
+
|
10
|
+
#member_birth {
|
11
|
+
value: @member.birth;
|
12
|
+
}
|
13
|
+
|
14
|
+
#member_gender {
|
15
|
+
value: label;
|
16
|
+
logic: {
|
17
|
+
case @member.gender
|
18
|
+
when 'M' ; label = 'Man'
|
19
|
+
when 'W' ; label = 'Woman'
|
20
|
+
else ; label = ' - '
|
21
|
+
end
|
22
|
+
_elem
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
#member_group {
|
27
|
+
Value: @member.group.name;
|
28
|
+
}
|
29
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title></title>
|
5
|
+
<link rel="stylesheet" type="text/css" href="scaffold.css">
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
|
9
|
+
<h1 id="page_title">Editing member</h1>
|
10
|
+
|
11
|
+
<div id="page_content">
|
12
|
+
|
13
|
+
<form action="update" id="mark:start_form">
|
14
|
+
|
15
|
+
<div id="replace_element_with_content:form_content">
|
16
|
+
...
|
17
|
+
</div>
|
18
|
+
|
19
|
+
<input type="submit" id="mark:submit">
|
20
|
+
</form>
|
21
|
+
|
22
|
+
<a href="#" id="link_to_show">Show</a> | <a href="#" id="link_to_list">List</a>
|
23
|
+
|
24
|
+
</div>
|
25
|
+
|
26
|
+
</body>
|
27
|
+
</html>
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Listing members</title>
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
|
8
|
+
<h1 id="mark:page_title">Listing members</h1>
|
9
|
+
|
10
|
+
<div id="mark:page_content">
|
11
|
+
|
12
|
+
<table summary="">
|
13
|
+
|
14
|
+
<tr>
|
15
|
+
<th>Name</th>
|
16
|
+
<th>Email</th>
|
17
|
+
<th>Birth</th>
|
18
|
+
<th>Gender</th>
|
19
|
+
<th>Group</th>
|
20
|
+
</tr>
|
21
|
+
|
22
|
+
<tr id="mark:members">
|
23
|
+
<td id="mark:member_name">foo</td>
|
24
|
+
<td id="mark:member_email">foo@mail.com</td>
|
25
|
+
<td id="mark:member_birth">2000-01-01</td>
|
26
|
+
<td id="mark:member_gender">Woman</td>
|
27
|
+
<td id="mark:member_group">admin</td>
|
28
|
+
<td>
|
29
|
+
<a href="#" id="link_to_show">Show</a>
|
30
|
+
<a href="#" id="link_to_edit">Edit</a>
|
31
|
+
<a href="#" id="link_to_destroy">Destroy</a>
|
32
|
+
</td>
|
33
|
+
</tr>
|
34
|
+
|
35
|
+
</table>
|
36
|
+
|
37
|
+
<p>
|
38
|
+
<a href="#" id="prev_page">Previous page</a>
|
39
|
+
<a href="#" id="next_page">Next page</a>
|
40
|
+
</p>
|
41
|
+
|
42
|
+
<p>
|
43
|
+
<a href="#" id="link_to_new">New member</a>
|
44
|
+
</p>
|
45
|
+
|
46
|
+
<p>
|
47
|
+
<a href="#" id="link_to_groups">Go to groups</a>
|
48
|
+
</p>
|
49
|
+
|
50
|
+
</div>
|
51
|
+
|
52
|
+
</body>
|
53
|
+
</html>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
@import '_link.plogic';
|
2
|
+
@import '_read.plogic';
|
3
|
+
|
4
|
+
#members {
|
5
|
+
logic: {
|
6
|
+
for @member in @members
|
7
|
+
_elem
|
8
|
+
end
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
#prev_page {
|
13
|
+
stag: start_link_tag :page=>@member_pages.current.previous;
|
14
|
+
logic: {
|
15
|
+
if @member_pages.current.previous
|
16
|
+
_elem
|
17
|
+
end
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
#next_page {
|
22
|
+
stag: start_link_tag :page=>@member_pages.current.next;
|
23
|
+
logic: {
|
24
|
+
if @member_pages.current.next
|
25
|
+
_elem
|
26
|
+
end
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
#link_to_groups {
|
31
|
+
stag: start_link_tag :action=>'list', :controller=>'groups';
|
32
|
+
}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>New member</title>
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
|
8
|
+
|
9
|
+
<h1 id="page_title">New member</h1>
|
10
|
+
|
11
|
+
<div id="page_content">
|
12
|
+
|
13
|
+
<form action="create" id="mark:start_form">
|
14
|
+
<div id="mark:form_content">
|
15
|
+
|
16
|
+
<div id="mark:error_messages"></div>
|
17
|
+
|
18
|
+
<!--[form:member]-->
|
19
|
+
<p>
|
20
|
+
<label for="member_name">Name</label><br>
|
21
|
+
<input type="text" id="member_name">
|
22
|
+
</p>
|
23
|
+
|
24
|
+
<p>
|
25
|
+
<label for="member_email">Email</label><br>
|
26
|
+
<input type="text" id="member_email">
|
27
|
+
</p>
|
28
|
+
|
29
|
+
<p>
|
30
|
+
<label for="member_birth">Birth</label><br>
|
31
|
+
<select id="member_birth">
|
32
|
+
<option value=""> - </option>
|
33
|
+
</select>
|
34
|
+
</p>
|
35
|
+
|
36
|
+
<p>
|
37
|
+
<label for="member_gender">Gender</label><br>
|
38
|
+
<input type="radio" id="member_gender_m"><label for="member_gender_m">Man</label>
|
39
|
+
<input type="radio" id="member_gender_w"><label for="member_gender_w">Woman</label>
|
40
|
+
</p>
|
41
|
+
|
42
|
+
<p>
|
43
|
+
<label for="member_group_id">Group</label><br>
|
44
|
+
<select id="member_group_id">
|
45
|
+
<option value=""> - </option>
|
46
|
+
<option value="1">group1</option>
|
47
|
+
<option value="2">group2</option>
|
48
|
+
</select>
|
49
|
+
</p>
|
50
|
+
<!--[eoform:member]-->
|
51
|
+
|
52
|
+
</div>
|
53
|
+
<input type="submit" id="submit">
|
54
|
+
</form>
|
55
|
+
|
56
|
+
<a href="#" id="link_to_list">Back</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
|
60
|
+
</body>
|
61
|
+
</html>
|