egov_utils 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a44148d5c328ee5dc00a79189f3c6e59887574ccafef4a3f5756db14a5e2bb65
4
- data.tar.gz: 0710a56e7b75039606a4a3c48ef85cb8ea2e6d427a5df5f057f10eadce0301ab
3
+ metadata.gz: e47290759de544e2fa91d122697921421abafb58f68b3f06b00fbaf0ad05c2be
4
+ data.tar.gz: 6b1f897ec5497b5dd6c689f2dce448e90778066c248c2d6bac318d0839e182f4
5
5
  SHA512:
6
- metadata.gz: 65d3e9a13c9d4e584a5a5fa9a0b04e7c3426c293bdf9fa6d9ae8b9b64f0417ba60e739427b0f500200fb6bce0933ab93650952640cc25377f6075a8468a548d2
7
- data.tar.gz: 9724af21431b3b53e8e575c1150f240d8492163e2569336b686298d2cb5980b04765fa4ea7c9003d41f746e620173bdc4c983aba7b526c2b24a63df7025159d9
6
+ metadata.gz: 76f9b66b1fda0822d3f5cd2a31616ddfa9056a233005dda2c76c498e5331af1941cfdb4a44f410e2bf7925ed312318d4319ca934028101c2f21c54c64cc3c2a8
7
+ data.tar.gz: ce016642a3b53252a29ce127c0a431c51b8654bd301cf413ea73037432fdc805afad6dc15f6e43122e0228d6d99172b9418e8fd5d26838350e955f89b492ec59
@@ -26,4 +26,3 @@
26
26
  .col-md-4
27
27
  = paginate @registration_requests
28
28
  .col-md-4
29
-
@@ -1,9 +1,15 @@
1
1
  %h1= t('.title')
2
2
 
3
- = bootstrap_form_for(@registration_request) do |f|
3
+ = bootstrap_form_for(@registration_request, url: egov_utils.registration_requests_path) do |f|
4
+ %h2= t('.request_details')
4
5
  = f.text_field(:mail)
5
6
  = f.text_field(:firstname)
6
7
  = f.text_field(:lastname)
7
8
  = f.text_field(:organization)
8
9
  = f.text_field(:note)
10
+ %h2= t('.supervisor')
11
+ %em= t('.supervisor_info')
12
+ = f.text_field(:supervisor_name)
13
+ = f.text_field(:supervisor_email)
14
+ = f.text_field(:supervisor_phone)
9
15
  = f.submit t(:label_registration_request)
@@ -17,6 +17,15 @@
17
17
  %tr
18
18
  %th= EgovUtils::RegistrationRequest.human_attribute_name('note')
19
19
  %td= @registration_request.note
20
+ %tr
21
+ %th= EgovUtils::RegistrationRequest.human_attribute_name('supervisor_name')
22
+ %td= @registration_request.supervisor_name
23
+ %tr
24
+ %th= EgovUtils::RegistrationRequest.human_attribute_name('supervisor_email')
25
+ %td= @registration_request.supervisor_email
26
+ %tr
27
+ %th= EgovUtils::RegistrationRequest.human_attribute_name('supervisor_phone')
28
+ %td= @registration_request.supervisor_phone
20
29
  %tr
21
30
  %th= EgovUtils::RegistrationRequest.human_attribute_name('created_at')
22
31
  %td= l(@registration_request.created_at)
@@ -48,4 +57,3 @@
48
57
  $('#registration_request_status').val(status);
49
58
  });
50
59
  });
51
-
@@ -1,3 +1,3 @@
1
1
  module EgovUtils
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: egov_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ondřej Ezr