spina 0.6.12 → 0.6.13
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of spina might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/assets/javascripts/spina/admin/pages.js.coffee +2 -4
- data/app/controllers/spina/admin/accounts_controller.rb +6 -6
- data/app/controllers/spina/admin/admin_controller.rb +1 -1
- data/app/controllers/spina/admin/attachments_controller.rb +2 -2
- data/app/controllers/spina/admin/inquiries_controller.rb +7 -7
- data/app/controllers/spina/admin/pages_controller.rb +6 -6
- data/app/controllers/spina/admin/photos_controller.rb +2 -2
- data/app/controllers/spina/admin/sessions_controller.rb +1 -1
- data/app/controllers/spina/admin/users_controller.rb +7 -7
- data/app/models/spina/user.rb +1 -1
- data/app/views/layouts/spina/admin/application.html.haml +1 -1
- data/app/views/layouts/spina/admin/media_library.html.haml +2 -4
- data/app/views/layouts/spina/admin/messages.html.haml +6 -6
- data/app/views/layouts/spina/admin/settings.html.haml +9 -9
- data/app/views/layouts/spina/admin/website.html.haml +5 -5
- data/app/views/layouts/spina/login.html.haml +1 -1
- data/app/views/spina/admin/accounts/_form.html.haml +19 -19
- data/app/views/spina/admin/accounts/analytics.html.haml +6 -6
- data/app/views/spina/admin/accounts/social.html.haml +7 -7
- data/app/views/spina/admin/accounts/style.html.haml +4 -4
- data/app/views/spina/admin/attachments/_attachment.html.haml +1 -1
- data/app/views/spina/admin/attachments/_select.html.haml +4 -4
- data/app/views/spina/admin/attachments/_select_collection.html.haml +4 -4
- data/app/views/spina/admin/attachments/create.js.erb +1 -3
- data/app/views/spina/admin/attachments/index.html.haml +4 -4
- data/app/views/spina/admin/inquiries/inbox.html.haml +5 -5
- data/app/views/spina/admin/inquiries/index.html.haml +6 -6
- data/app/views/spina/admin/inquiries/show.html.haml +6 -6
- data/app/views/spina/admin/inquiries/spam.html.haml +7 -7
- data/app/views/spina/admin/page_partables/_attachment_collection_form.html.haml +2 -1
- data/app/views/spina/admin/page_partables/_attachment_form.html.haml +2 -1
- data/app/views/spina/admin/page_partables/_line_form.html.haml +1 -1
- data/app/views/spina/admin/page_partables/_photo_collection_form.html.haml +1 -1
- data/app/views/spina/admin/page_partables/_photo_form.html.haml +2 -2
- data/app/views/spina/admin/page_partables/_text_form.html.haml +6 -6
- data/app/views/spina/admin/page_parts/_wysihtml5_link.html.haml +3 -3
- data/app/views/spina/admin/pages/_form.html.haml +20 -20
- data/app/views/spina/admin/pages/_page.html.haml +5 -5
- data/app/views/spina/admin/pages/edit.html.haml +3 -3
- data/app/views/spina/admin/pages/index.html.haml +5 -5
- data/app/views/spina/admin/pages/new.html.haml +3 -3
- data/app/views/spina/admin/photos/_photo.html.haml +1 -1
- data/app/views/spina/admin/photos/_photo_collection_select.html.haml +3 -3
- data/app/views/spina/admin/photos/_photo_link.html.haml +2 -2
- data/app/views/spina/admin/photos/_photo_select.html.haml +3 -3
- data/app/views/spina/admin/photos/_wysihtml5_select.html.haml +3 -3
- data/app/views/spina/admin/photos/create.js.erb +1 -1
- data/app/views/spina/admin/photos/insert_photo.js.erb +2 -2
- data/app/views/spina/admin/sessions/new.html.haml +3 -3
- data/app/views/spina/admin/shared/_notifications.html.haml +2 -2
- data/app/views/spina/admin/users/_form.html.haml +16 -17
- data/app/views/spina/admin/users/index.html.haml +7 -7
- data/app/views/spina/shared/_admin_bar.html.haml +2 -2
- data/config/locales/nl.yml +189 -206
- data/lib/spina/version.rb +1 -1
- metadata +2 -8
- data/app/helpers/spina/admin/accounts_helper.rb +0 -6
- data/app/helpers/spina/admin/inquiries_helper.rb +0 -6
- data/app/helpers/spina/admin/page_parts_helper.rb +0 -6
- data/app/helpers/spina/admin/photos_helper.rb +0 -6
- data/app/helpers/spina/admin/sessions_helper.rb +0 -6
- data/app/helpers/spina/admin/users_helper.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 09fedb5b12f1905604e9f97fab0054fd709ea5f8
|
4
|
+
data.tar.gz: 1a370c95dcaa5e420bc782b67b4bd624afb1205d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 436b5f3ffb9b1d51c1aec59ba3bec22517be2f09e6a49a0ec06fdd9d62e27a8839bb4ebe1923dd754157fcc9338f7d0a29b7a59c56c6a1ec7d9beebb8fea10ed
|
7
|
+
data.tar.gz: 3ee6db760b6aa74fd68d42d8c42905b2db6b02ad41ce5b2097c2b78c23d8e84b7b7629a4c22eeeb43f4e78abfc29160747cd56f917a1c6aea90e6b042d06b863
|
@@ -39,11 +39,9 @@ $(document).on 'click', '.sort-switch', (event) ->
|
|
39
39
|
if $(this).attr('data-icon') == 'j'
|
40
40
|
$(this).attr('data-icon', '8')
|
41
41
|
$(this).removeClass('button-success')
|
42
|
-
$(this).
|
43
|
-
$(this).text('Volgorde wijzigen')
|
42
|
+
$(this).text($(this).data('change-order'))
|
44
43
|
else
|
45
44
|
$(this).attr('data-icon', 'j')
|
46
45
|
$(this).addClass('button-success')
|
47
|
-
$(this).
|
48
|
-
$(this).text('Klaar met slepen')
|
46
|
+
$(this).text($(this).data('done-changing-order'))
|
49
47
|
return false
|
@@ -7,27 +7,27 @@ module Spina
|
|
7
7
|
layout "spina/admin/settings"
|
8
8
|
|
9
9
|
def edit
|
10
|
-
add_breadcrumb
|
10
|
+
add_breadcrumb I18n.t('spina.preferences.account'), spina.edit_admin_account_path
|
11
11
|
end
|
12
12
|
|
13
13
|
def update
|
14
14
|
if current_account.update_attributes(account_params)
|
15
|
-
redirect_to :back
|
15
|
+
redirect_to :back
|
16
16
|
else
|
17
|
-
redirect_to :back
|
17
|
+
redirect_to :back
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
21
21
|
def analytics
|
22
|
-
add_breadcrumb
|
22
|
+
add_breadcrumb I18n.t('spina.preferences.analytics'), spina.analytics_admin_account_path
|
23
23
|
end
|
24
24
|
|
25
25
|
def social
|
26
|
-
add_breadcrumb
|
26
|
+
add_breadcrumb I18n.t('spina.preferences.social_media'), spina.social_admin_account_path
|
27
27
|
end
|
28
28
|
|
29
29
|
def style
|
30
|
-
add_breadcrumb
|
30
|
+
add_breadcrumb I18n.t('spina.preferences.style'), spina.style_admin_account_path
|
31
31
|
@themes = ::Spina.themes
|
32
32
|
@layout_parts = current_theme.config.layout_parts.map { |layout_part| current_account.layout_part(layout_part) }
|
33
33
|
end
|
@@ -10,7 +10,7 @@ module Spina
|
|
10
10
|
private
|
11
11
|
|
12
12
|
def authorize_user
|
13
|
-
redirect_to spina.admin_login_url, flash: {information:
|
13
|
+
redirect_to spina.admin_login_url, flash: {information: I18n.t('spina.notifications.login')} unless current_user
|
14
14
|
end
|
15
15
|
|
16
16
|
def new_messages
|
@@ -8,7 +8,7 @@ module Spina
|
|
8
8
|
layout "spina/admin/media_library"
|
9
9
|
|
10
10
|
def index
|
11
|
-
add_breadcrumb
|
11
|
+
add_breadcrumb I18n.t('spina.website.documents'), spina.admin_attachments_path
|
12
12
|
@attachments = Attachment.file_attached.sorted
|
13
13
|
@attachment = Attachment.new
|
14
14
|
end
|
@@ -44,7 +44,7 @@ module Spina
|
|
44
44
|
private
|
45
45
|
|
46
46
|
def set_breadcrumbs
|
47
|
-
add_breadcrumb
|
47
|
+
add_breadcrumb I18n.t('spina.website.media_library'), spina.admin_media_library_path
|
48
48
|
end
|
49
49
|
|
50
50
|
def attachment_params
|
@@ -8,30 +8,30 @@ module Spina
|
|
8
8
|
|
9
9
|
def show
|
10
10
|
@inquiry = Inquiry.find(params[:id])
|
11
|
-
add_breadcrumb
|
11
|
+
add_breadcrumb I18n.t('spina.inquiries.all'), spina.admin_inquiries_path
|
12
12
|
add_breadcrumb @inquiry.name
|
13
13
|
end
|
14
14
|
|
15
15
|
def inbox_show
|
16
16
|
@inquiry = Inquiry.find(params[:id])
|
17
|
-
add_breadcrumb
|
17
|
+
add_breadcrumb I18n.t('spina.inquiries.inbox'), spina.inbox_admin_inquiries_path
|
18
18
|
add_breadcrumb @inquiry.name
|
19
19
|
render :show
|
20
20
|
end
|
21
21
|
|
22
22
|
def index
|
23
|
-
add_breadcrumb
|
23
|
+
add_breadcrumb I18n.t('spina.inquiries.all'), spina.admin_inquiries_path
|
24
24
|
@inquiries = Inquiry.sorted
|
25
25
|
end
|
26
26
|
|
27
27
|
def inbox
|
28
|
-
add_breadcrumb
|
28
|
+
add_breadcrumb I18n.t('spina.inquiries.inbox'), spina.inbox_admin_inquiries_path
|
29
29
|
@inquiries = Inquiry.new_messages.sorted
|
30
30
|
end
|
31
31
|
|
32
32
|
def spam
|
33
|
-
add_breadcrumb
|
34
|
-
add_breadcrumb
|
33
|
+
add_breadcrumb I18n.t('spina.inquiries.all'), spina.admin_inquiries_path
|
34
|
+
add_breadcrumb I18n.t('spina.inquiries.spam'), spina.spam_admin_inquiries_path
|
35
35
|
@inquiries = Inquiry.spam.order('created_at DESC')
|
36
36
|
end
|
37
37
|
|
@@ -50,7 +50,7 @@ module Spina
|
|
50
50
|
def destroy
|
51
51
|
@inquiry = Inquiry.find(params[:id])
|
52
52
|
@inquiry.destroy
|
53
|
-
redirect_to spina.admin_inquiries_path
|
53
|
+
redirect_to spina.admin_inquiries_path
|
54
54
|
end
|
55
55
|
|
56
56
|
private
|
@@ -17,15 +17,15 @@ module Spina
|
|
17
17
|
if current_theme.new_page_templates.any? { |template| template[0] == params[:view_template] }
|
18
18
|
@page.view_template = params[:view_template]
|
19
19
|
end
|
20
|
-
add_breadcrumb
|
20
|
+
add_breadcrumb I18n.t('spina.pages.new')
|
21
21
|
@page_parts = current_theme.config.page_parts.map { |page_part| @page.page_part(page_part) }
|
22
22
|
end
|
23
23
|
|
24
24
|
def create
|
25
25
|
@page = Page.new(page_params)
|
26
|
-
add_breadcrumb
|
26
|
+
add_breadcrumb I18n.t('spina.pages.new')
|
27
27
|
if @page.save
|
28
|
-
redirect_to spina.admin_pages_url
|
28
|
+
redirect_to spina.admin_pages_url
|
29
29
|
else
|
30
30
|
@page_parts = @page.page_parts
|
31
31
|
render :new
|
@@ -43,7 +43,7 @@ module Spina
|
|
43
43
|
add_breadcrumb @page.title
|
44
44
|
respond_to do |format|
|
45
45
|
if @page.update_attributes(page_params)
|
46
|
-
format.html { redirect_to spina.admin_pages_url
|
46
|
+
format.html { redirect_to spina.admin_pages_url }
|
47
47
|
format.js
|
48
48
|
else
|
49
49
|
format.html do
|
@@ -70,13 +70,13 @@ module Spina
|
|
70
70
|
def destroy
|
71
71
|
@page = Page.find(params[:id])
|
72
72
|
@page.destroy
|
73
|
-
redirect_to spina.admin_pages_url
|
73
|
+
redirect_to spina.admin_pages_url
|
74
74
|
end
|
75
75
|
|
76
76
|
private
|
77
77
|
|
78
78
|
def set_breadcrumb
|
79
|
-
add_breadcrumb
|
79
|
+
add_breadcrumb I18n.t('spina.website.pages'), spina.admin_pages_path
|
80
80
|
end
|
81
81
|
|
82
82
|
def update_page_position(page, parent_id = nil)
|
@@ -8,7 +8,7 @@ module Spina
|
|
8
8
|
layout "spina/admin/media_library"
|
9
9
|
|
10
10
|
def index
|
11
|
-
add_breadcrumb
|
11
|
+
add_breadcrumb I18n.t('spina.website.photos'), spina.admin_photos_path
|
12
12
|
@photos = Photo.sorted
|
13
13
|
@photo = Photo.new
|
14
14
|
end
|
@@ -65,7 +65,7 @@ module Spina
|
|
65
65
|
private
|
66
66
|
|
67
67
|
def set_breadcrumbs
|
68
|
-
add_breadcrumb
|
68
|
+
add_breadcrumb I18n.t('spina.website.media_library'), spina.admin_media_library_path
|
69
69
|
end
|
70
70
|
|
71
71
|
def photo_params
|
@@ -13,16 +13,16 @@ module Spina
|
|
13
13
|
|
14
14
|
def new
|
15
15
|
@user = User.new
|
16
|
-
add_breadcrumb
|
16
|
+
add_breadcrumb I18n.t('spina.users.new')
|
17
17
|
end
|
18
18
|
|
19
19
|
def create
|
20
20
|
@user = User.new(user_params)
|
21
|
-
add_breadcrumb
|
21
|
+
add_breadcrumb I18n.t('spina.users.new')
|
22
22
|
if @user.save
|
23
|
-
redirect_to admin_users_url
|
23
|
+
redirect_to admin_users_url
|
24
24
|
else
|
25
|
-
flash.now[:alert] =
|
25
|
+
flash.now[:alert] = I18n.t('spina.users.cannot_be_created')
|
26
26
|
render :new
|
27
27
|
end
|
28
28
|
end
|
@@ -38,7 +38,7 @@ module Spina
|
|
38
38
|
if @user.update_attributes(user_params)
|
39
39
|
redirect_to spina.admin_users_url
|
40
40
|
else
|
41
|
-
flash.now[:alert] =
|
41
|
+
flash.now[:alert] = I18n.t('spina.users.cannot_be_created')
|
42
42
|
render :edit
|
43
43
|
end
|
44
44
|
end
|
@@ -46,13 +46,13 @@ module Spina
|
|
46
46
|
def destroy
|
47
47
|
@user = User.find(params[:id])
|
48
48
|
@user.destroy unless @user == current_user
|
49
|
-
redirect_to admin_users_url
|
49
|
+
redirect_to admin_users_url
|
50
50
|
end
|
51
51
|
|
52
52
|
private
|
53
53
|
|
54
54
|
def set_breadcrumbs
|
55
|
-
add_breadcrumb
|
55
|
+
add_breadcrumb I18n.t('spina.preferences.users'), spina.admin_users_path
|
56
56
|
end
|
57
57
|
|
58
58
|
def user_params
|
data/app/models/spina/user.rb
CHANGED
@@ -5,7 +5,7 @@ module Spina
|
|
5
5
|
validates_presence_of :name, :email
|
6
6
|
validates_presence_of :password, on: :create
|
7
7
|
validate :uniqueness_of_email
|
8
|
-
validates :email, format: { with:/\A[^@]+@[^@]+\z
|
8
|
+
validates :email, format: { with:/\A[^@]+@[^@]+\z/ }
|
9
9
|
|
10
10
|
def admin?
|
11
11
|
admin
|
@@ -25,7 +25,7 @@
|
|
25
25
|
%header#main_content_header
|
26
26
|
= yield(:permanent_notice) if content_for?(:permanent_notice)
|
27
27
|
.pull-right
|
28
|
-
= link_to
|
28
|
+
= link_to t('spina.preview_website'), "/", class: 'button button-hollow button-round button-small', data: {:"no-turbolink" => true, icon: "W"}
|
29
29
|
.breadcrumbs= render_breadcrumbs separator: '<div class="divider"></div>'
|
30
30
|
= yield(:tertiary_navigation) if content_for?(:tertiary_navigation)
|
31
31
|
|
@@ -2,11 +2,9 @@
|
|
2
2
|
%nav.tabs
|
3
3
|
%ul
|
4
4
|
%li{class: ('active' if controller_name == "photos")}
|
5
|
-
= link_to spina.admin_photos_path
|
6
|
-
Afbeeldingen
|
5
|
+
= link_to Spina::Photo.model_name.human(count: 2), spina.admin_photos_path
|
7
6
|
%li{class: ('active' if controller_name == "attachments")}
|
8
|
-
= link_to spina.admin_attachments_path
|
9
|
-
Documenten
|
7
|
+
= link_to Spina::Attachment.model_name.human(count: 2), spina.admin_attachments_path
|
10
8
|
|
11
9
|
- content_for :website_content do
|
12
10
|
= yield
|
@@ -1,20 +1,20 @@
|
|
1
1
|
- content_for :secondary_navigation do
|
2
2
|
%nav#secondary
|
3
|
-
%h1
|
3
|
+
%h1= Spina::Inquiry.model_name.human(count: 2)
|
4
4
|
|
5
5
|
%ul
|
6
6
|
%li{class: ('active' if ["inbox", "inbox_show"].include? action_name )}
|
7
7
|
= link_to spina.inbox_admin_inquiries_path, data: {icon: 'b'} do
|
8
8
|
- if @new_messages.present?
|
9
|
-
= "
|
9
|
+
= "#{t('spina.inquiries.inbox')} (#{@new_messages.size})"
|
10
10
|
- else
|
11
|
-
|
12
|
-
%small
|
11
|
+
= t('spina.inquiries.inbox')
|
12
|
+
%small= t('spina.inquiries.inbox_description')
|
13
13
|
|
14
14
|
%li{class: ('active' if ["index", "spam", "show"].include? action_name )}
|
15
15
|
= link_to spina.admin_inquiries_path, data: {icon: 'z'} do
|
16
|
-
|
17
|
-
%small
|
16
|
+
= t('spina.inquiries.all')
|
17
|
+
%small= t('spina.inquiries.all_description')
|
18
18
|
|
19
19
|
- content_for :content do
|
20
20
|
= yield
|
@@ -1,28 +1,28 @@
|
|
1
1
|
- content_for :secondary_navigation do
|
2
2
|
%nav#secondary
|
3
|
-
%h1
|
3
|
+
%h1= t('spina.preferences.title')
|
4
4
|
|
5
5
|
%ul
|
6
6
|
%li{class: ('active' if params[:action] == 'edit' && params[:controller] == 'spina/admin/accounts')}
|
7
7
|
= link_to spina.edit_admin_account_path, data: {icon: 'J'} do
|
8
|
-
|
9
|
-
%small
|
8
|
+
= t('spina.preferences.account')
|
9
|
+
%small= t('spina.preferences.account_description')
|
10
10
|
|
11
11
|
- if can? :manage, Spina::User
|
12
12
|
%li{class: ('active' if %w[users].include? controller_name)}
|
13
13
|
= link_to spina.admin_users_path, data: {icon: 'K'} do
|
14
|
-
|
15
|
-
%small
|
14
|
+
= t('spina.preferences.users')
|
15
|
+
%small= t('spina.preferences.users_description')
|
16
16
|
|
17
17
|
%li{class: ('active' if params[:action] == 'social')}
|
18
18
|
= link_to spina.social_admin_account_path, data: {icon: 'D'} do
|
19
|
-
|
20
|
-
%small
|
19
|
+
= t('spina.preferences.social_media')
|
20
|
+
%small= t('spina.preferences.social_media_description')
|
21
21
|
|
22
22
|
%li{class: ('active' if params[:action] == 'analytics')}
|
23
23
|
= link_to spina.analytics_admin_account_path, data: {icon: 'E'} do
|
24
|
-
|
25
|
-
%small
|
24
|
+
= t('spina.preferences.analytics')
|
25
|
+
%small= t('spina.preferences.analytics_description')
|
26
26
|
|
27
27
|
- content_for :content do
|
28
28
|
= yield
|
@@ -1,17 +1,17 @@
|
|
1
1
|
- content_for :secondary_navigation do
|
2
2
|
%nav#secondary
|
3
|
-
%h1
|
3
|
+
%h1= t('spina.website.title')
|
4
4
|
|
5
5
|
%ul
|
6
6
|
%li{class: ('active' if params[:controller] == "spina/admin/pages")}
|
7
7
|
= link_to spina.admin_pages_path, data: {icon: 'B'} do
|
8
|
-
|
9
|
-
%small
|
8
|
+
= t('spina.website.pages')
|
9
|
+
%small= t('spina.website.pages_description')
|
10
10
|
|
11
11
|
%li{class: ('active' if params[:controller] == "spina/admin/photos" || params[:controller] == "spina/admin/attachments")}
|
12
12
|
= link_to spina.admin_photos_path, data: {icon: 'N'} do
|
13
|
-
|
14
|
-
%small
|
13
|
+
= t('spina.website.media_library')
|
14
|
+
%small= t('spina.website.media_library_description')
|
15
15
|
|
16
16
|
- Spina.plugins(:website_resource).each do |plugin|
|
17
17
|
- if current_theme.config.plugins.include? plugin.name.downcase
|
@@ -3,53 +3,53 @@
|
|
3
3
|
%table.table.table-form
|
4
4
|
%tr
|
5
5
|
%td
|
6
|
-
|
6
|
+
= Spina::Account.human_attribute_name(:name)
|
7
7
|
%td
|
8
|
-
= f.text_field :name, placeholder:
|
8
|
+
= f.text_field :name, placeholder: Spina::Account.human_attribute_name(:name)
|
9
9
|
|
10
10
|
%tr
|
11
11
|
%td
|
12
|
-
|
12
|
+
= Spina::Account.human_attribute_name(:address)
|
13
13
|
%td
|
14
|
-
= f.text_field :address, placeholder:
|
14
|
+
= f.text_field :address, placeholder: Spina::Account.human_attribute_name(:address)
|
15
15
|
|
16
16
|
%tr
|
17
17
|
%td
|
18
|
-
|
18
|
+
= Spina::Account.human_attribute_name(:postal_code)
|
19
19
|
%td
|
20
|
-
= f.text_field :postal_code, placeholder:
|
20
|
+
= f.text_field :postal_code, placeholder: Spina::Account.human_attribute_name(:postal_code)
|
21
21
|
|
22
22
|
%tr
|
23
23
|
%td
|
24
|
-
|
24
|
+
= Spina::Account.human_attribute_name(:city)
|
25
25
|
%td
|
26
|
-
= f.text_field :city, placeholder:
|
26
|
+
= f.text_field :city, placeholder: Spina::Account.human_attribute_name(:city)
|
27
27
|
|
28
28
|
%tr
|
29
29
|
%td
|
30
|
-
|
30
|
+
= Spina::Account.human_attribute_name(:phone)
|
31
31
|
%td
|
32
|
-
= f.text_field :phone, placeholder:
|
32
|
+
= f.text_field :phone, placeholder: Spina::Account.human_attribute_name(:phone)
|
33
33
|
|
34
34
|
%tr
|
35
35
|
%td
|
36
|
-
|
36
|
+
= Spina::Account.human_attribute_name(:email)
|
37
37
|
%td
|
38
|
-
= f.text_field :email, placeholder:
|
38
|
+
= f.text_field :email, placeholder: Spina::Account.human_attribute_name(:email)
|
39
39
|
|
40
40
|
%tr
|
41
41
|
%td
|
42
|
-
|
43
|
-
%small
|
42
|
+
= Spina::Account.human_attribute_name(:kvk_identifier)
|
43
|
+
%small= Spina::Account.human_attribute_name(:kvk_identifier_description)
|
44
44
|
%td
|
45
|
-
= f.text_field :kvk_identifier, placeholder:
|
45
|
+
= f.text_field :kvk_identifier, placeholder: Spina::Account.human_attribute_name(:kvk_identifier)
|
46
46
|
|
47
47
|
%tr
|
48
48
|
%td
|
49
|
-
|
50
|
-
%small
|
49
|
+
= Spina::Account.human_attribute_name(:vat_identifier)
|
50
|
+
%small= Spina::Account.human_attribute_name(:vat_identifier_description)
|
51
51
|
%td
|
52
|
-
= f.text_field :vat_identifier, placeholder:
|
52
|
+
= f.text_field :vat_identifier, placeholder: Spina::Account.human_attribute_name(:vat_identifier)
|
53
53
|
|
54
54
|
%button.button.button-primary{type: 'submit', data: {icon: 'o'}}
|
55
|
-
|
55
|
+
= t('spina.preferences.account_save')
|