adherent 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/adherent/layouts.css.scss +1 -2
- data/app/models/adherent/member.rb +2 -0
- data/app/views/adherent/members/_form.html.erb +2 -1
- data/app/views/adherent/members/edit.html.erb +2 -2
- data/app/views/adherent/members/index.html.erb +1 -1
- data/app/views/adherent/members/new.html.erb +3 -2
- data/app/views/adherent/members/show.html.erb +2 -2
- data/app/views/layouts/adherent/application.html.erb +12 -11
- data/config/initializers/date_picker_input.rb +0 -1
- data/lib/adherent/version.rb +1 -1
- data/test/dummy/log/development.log +3341 -0
- data/test/dummy/tmp/cache/assets/D0B/520/sprockets%2Fa659c61ab2078241e32ebaf671f87e41 +0 -0
- data/test/dummy/tmp/cache/assets/D25/100/sprockets%2F4b9f1fdc6f9b86cc0624a7951766d926 +0 -0
- data/test/dummy/tmp/cache/assets/D44/860/sprockets%2F9157a652853bd3cea861bd767fed0b08 +0 -0
- data/test/dummy/tmp/cache/assets/D48/B20/sprockets%2F5768e2da329c68c958acde5d26124de0 +0 -0
- data/test/dummy/tmp/cache/assets/D4B/C40/sprockets%2F2428f6c76bb4a5efb583e158681fb73d +0 -0
- data/test/dummy/tmp/cache/assets/D6A/5C0/sprockets%2F9b410af44867a4979d1aea0ab84ed24b +0 -0
- data/test/dummy/tmp/cache/assets/D73/0F0/sprockets%2F5ba6d2f108d33e64b84fc4dd91960d6e +0 -0
- data/test/dummy/tmp/cache/assets/DA7/930/sprockets%2F06db55d1b7d0c96a4ff1657e169e6ece +0 -0
- data/test/dummy/tmp/cache/assets/DB0/A80/sprockets%2F9fdb8e951f975dae3836c2ccf0f65a34 +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4886004175e5dadc3cb3a6afefcc1c3e174007b3
|
4
|
+
data.tar.gz: ca7a080613104ec7a0a31fc8a54402b58e913fcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ebe1f4885984dfbf6db5bb28db12ea75cb47137682fdbd251fcd3782948ad5049e7bf2939d7b9906896db78e0e3f9bce0cc6edbb5836d1783e9b23fe254f8ed
|
7
|
+
data.tar.gz: 4e7c161d5bf8737d8c47b1a85aeb7efd29d3c3264924912776ad2fe6128df51aa4bbfc0920147e47b7de0c4968f1796fc486afccb2964bcad9193efe42c0e604
|
@@ -63,8 +63,7 @@ html, body {
|
|
63
63
|
.container-fluid {
|
64
64
|
min-height: 100%;
|
65
65
|
height: auto !important;
|
66
|
-
|
67
|
-
margin: 0 auto -1.5em; /* the bottom margin is the negative value of the footer's height */
|
66
|
+
margin: 0 auto -1.5em; /* the bottom margin is the negative value of the footer's height */
|
68
67
|
|
69
68
|
// position:relative;
|
70
69
|
}
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<%= f.input :name, input_html: {class: "span3"} %>
|
10
10
|
<%= f.input :forname, input_html: {class: "span3"} %>
|
11
11
|
<%= f.input :birthdate,
|
12
|
-
input_html: {class: "span2", date_min:Date.today.years_ago(100), date_max:Date.today, 'data-with-month-year'=>'avec'},
|
12
|
+
input_html: {class: "span2", value:@member.birthdate, date_min:Date.today.years_ago(100), date_max:Date.today, 'data-with-month-year'=>'avec'},
|
13
13
|
:as=>:date_picker %>
|
14
14
|
</div>
|
15
15
|
</div>
|
@@ -18,3 +18,4 @@
|
|
18
18
|
<%= f.button :submit, class: "btn-primary span2" %>
|
19
19
|
</div>
|
20
20
|
<% end %>
|
21
|
+
</div>
|
@@ -33,7 +33,7 @@
|
|
33
33
|
<td><%= member.number %></td>
|
34
34
|
<td><%= member.name %></td>
|
35
35
|
<td><%= member.forname %></td>
|
36
|
-
<td><%=
|
36
|
+
<td><%= member.birthdate %></td>
|
37
37
|
<td><%= member.coord ? member.coord.mail : '' %>
|
38
38
|
<td><%= member.coord ? member.coord.tel : '' %>
|
39
39
|
<td><%= icon_to 'detail.png', member_coord_path(member), title:'Coordonnées' %>
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
|
15
15
|
<p>
|
16
|
-
<b>
|
16
|
+
<b>Numéro :</b>
|
17
17
|
<%= @member.number %>
|
18
18
|
</p>
|
19
19
|
|
@@ -29,7 +29,7 @@
|
|
29
29
|
|
30
30
|
<p>
|
31
31
|
<b> <%= I18n::t('birthdate') %> :</b>
|
32
|
-
<%=
|
32
|
+
<%= @member.birthdate %>
|
33
33
|
</p>
|
34
34
|
|
35
35
|
</div>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
<div class="container-fluid">
|
12
12
|
|
13
|
-
<%= render 'layouts/adherent/header' %>
|
13
|
+
<%= render 'layouts/adherent/header' %>
|
14
14
|
|
15
15
|
|
16
16
|
<div class="row-fluid">
|
@@ -18,25 +18,26 @@
|
|
18
18
|
<div>
|
19
19
|
|
20
20
|
<ul class="nav nav-tabs" id="menu_general">
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
21
|
+
<!-- pas très bien nommé, la suite affiche les icones -->
|
22
|
+
<li class="horizontal_icons">
|
23
|
+
<%= yield :menu %>
|
24
|
+
</li>
|
25
25
|
</ul>
|
26
26
|
</div>
|
27
27
|
<div id="main-zone">
|
28
28
|
|
29
|
-
<%= render 'layouts/adherent/flash_partial' %>
|
29
|
+
<%= render 'layouts/adherent/flash_partial' %>
|
30
30
|
|
31
31
|
|
32
32
|
<%= yield %>
|
33
33
|
</div>
|
34
34
|
</div>
|
35
|
+
|
36
|
+
<div class ="push"></div>
|
37
|
+
|
38
|
+
</div>
|
35
39
|
|
36
|
-
|
37
|
-
</div>
|
40
|
+
<%= render 'layouts/adherent/footer' %>
|
38
41
|
|
39
|
-
|
40
|
-
|
41
|
-
</body>
|
42
|
+
</body>
|
42
43
|
</html>
|
data/lib/adherent/version.rb
CHANGED