phcdevworks_real_estate 5.0.4 → 5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -20
- data/README.md +1 -0
- data/Rakefile +8 -8
- data/app/assets/config/phcdevworks_real_estate_manifest.js +3 -3
- data/app/assets/stylesheets/phcdevworks_real_estate/application.scss +0 -0
- data/app/assets/stylesheets/phcdevworks_real_estate/property/features.scss +0 -0
- data/app/assets/stylesheets/phcdevworks_real_estate/property/listings.scss +0 -0
- data/app/controllers/phcdevworks_real_estate/application_controller.rb +13 -13
- data/app/controllers/phcdevworks_real_estate/property/features_controller.rb +82 -82
- data/app/controllers/phcdevworks_real_estate/property/listings_controller.rb +82 -82
- data/app/helpers/phcdevworks_real_estate/application_helper.rb +4 -4
- data/app/helpers/phcdevworks_real_estate/property/features_helper.rb +4 -4
- data/app/helpers/phcdevworks_real_estate/property/listings_helper.rb +4 -4
- data/app/jobs/phcdevworks_real_estate/application_job.rb +4 -4
- data/app/mailers/phcdevworks_real_estate/application_mailer.rb +6 -6
- data/app/models/phcdevworks_real_estate/application_record.rb +5 -5
- data/app/models/phcdevworks_real_estate/property/feature.rb +22 -22
- data/app/models/phcdevworks_real_estate/property/listing.rb +35 -35
- data/app/models/phcdevworks_real_estate/property.rb +7 -7
- data/app/views/layouts/phcdevworks_real_estate/application.html.erb +66 -66
- data/app/views/layouts/phcdevworks_real_estate/components/backend/footer/_footer.html.erb +0 -0
- data/app/views/layouts/phcdevworks_real_estate/components/backend/navigation/_top_menu.html.erb +0 -0
- data/app/views/layouts/phcdevworks_real_estate/components/backend/sidebars/_side_menu.html.erb +43 -43
- data/app/views/phcdevworks_real_estate/property/features/_form.html.erb +22 -22
- data/app/views/phcdevworks_real_estate/property/features/edit.html.erb +49 -49
- data/app/views/phcdevworks_real_estate/property/features/index.html.erb +82 -82
- data/app/views/phcdevworks_real_estate/property/features/new.html.erb +49 -49
- data/app/views/phcdevworks_real_estate/property/features/show.html.erb +64 -64
- data/app/views/phcdevworks_real_estate/property/listings/_form.html.erb +113 -113
- data/app/views/phcdevworks_real_estate/property/listings/edit.html.erb +49 -49
- data/app/views/phcdevworks_real_estate/property/listings/index.html.erb +90 -90
- data/app/views/phcdevworks_real_estate/property/listings/new.html.erb +49 -49
- data/app/views/phcdevworks_real_estate/property/listings/show.html.erb +50 -50
- data/config/routes.rb +19 -20
- data/config/spring.rb +1 -1
- data/db/migrate/20190824010811_create_phcdevworks_real_estate_property_listings.rb +36 -36
- data/db/migrate/20190824011000_create_phcdevworks_real_estate_property_features.rb +17 -17
- data/db/migrate/20191024232111_create_phcdevworks_real_estate_property_features_listings.rb +10 -10
- data/lib/phcdevworks_real_estate/engine.rb +47 -48
- data/lib/phcdevworks_real_estate/version.rb +3 -3
- data/lib/phcdevworks_real_estate.rb +6 -6
- data/lib/tasks/phcdevworks_real_estate_tasks.rake +4 -4
- metadata +33 -33
@@ -1,66 +1,66 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
|
5
|
-
<!-- SEO System -->
|
6
|
-
<% phc_seo_title "PHCDevworks Real Estate" %>
|
7
|
-
<% phc_seo_description "Ruby on Rails 6 Real Estate Property Listings Management Engine." %>
|
8
|
-
<!-- SEO System -->
|
9
|
-
|
10
|
-
<!-- SEO and Site Description -->
|
11
|
-
<meta charset="utf-8">
|
12
|
-
<title><%= yield(:phc_seo_title) %></title>
|
13
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
14
|
-
<meta name="description" content="<%= yield(:phc_seo_description) %>">
|
15
|
-
<!-- SEO and Site Description -->
|
16
|
-
|
17
|
-
<!-- Rails Security Tags -->
|
18
|
-
<%= csrf_meta_tags %>
|
19
|
-
<%= csp_meta_tag %>
|
20
|
-
<!-- Rails Security Tags -->
|
21
|
-
|
22
|
-
<!-- CSS Styles -->
|
23
|
-
<%= stylesheet_link_tag "phcthemes_admin_panel_pack_coloradmin", media: "all" %>
|
24
|
-
<!-- CSS Styles -->
|
25
|
-
|
26
|
-
<!-- JavaScript -->
|
27
|
-
<%= javascript_include_tag "phcthemes_admin_panel_pack_coloradmin" %>
|
28
|
-
<!-- JavaScript -->
|
29
|
-
|
30
|
-
</head>
|
31
|
-
<body>
|
32
|
-
|
33
|
-
<!-- Page Container -->
|
34
|
-
<div id="page-container" class="fade page-sidebar-fixed page-header-fixed">
|
35
|
-
|
36
|
-
<!-- Page Header -->
|
37
|
-
<div id="header" class="header navbar-default">
|
38
|
-
<%= render "layouts/phcdevworks_real_estate/components/backend/navigation/top_menu" %>
|
39
|
-
</div>
|
40
|
-
<!-- Page Header -->
|
41
|
-
|
42
|
-
<!-- Page Sidebar -->
|
43
|
-
<div id="sidebar" class="sidebar">
|
44
|
-
<%= render "layouts/phcdevworks_real_estate/components/backend/sidebars/side_menu" %>
|
45
|
-
</div>
|
46
|
-
<div class="sidebar-bg"></div>
|
47
|
-
<!-- Page Sidebar -->
|
48
|
-
|
49
|
-
<!-- Page Content -->
|
50
|
-
<div id="content" class="content">
|
51
|
-
<%= render "phcdevworks_notifications/bootstrap/notifications" %>
|
52
|
-
<%= yield %>
|
53
|
-
</div>
|
54
|
-
<!-- Page Content -->
|
55
|
-
|
56
|
-
<!-- Footer Content -->
|
57
|
-
<div id="footer" class="footer mb-4">
|
58
|
-
<%= render "layouts/phcdevworks_real_estate/components/backend/footer/footer" %>
|
59
|
-
</div>
|
60
|
-
<!-- Footer Content -->
|
61
|
-
|
62
|
-
</div>
|
63
|
-
<!-- Page Container -->
|
64
|
-
|
65
|
-
</body>
|
66
|
-
</html>
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
|
5
|
+
<!-- SEO System -->
|
6
|
+
<% phc_seo_title "PHCDevworks Real Estate" %>
|
7
|
+
<% phc_seo_description "Ruby on Rails 6 Real Estate Property Listings Management Engine." %>
|
8
|
+
<!-- SEO System -->
|
9
|
+
|
10
|
+
<!-- SEO and Site Description -->
|
11
|
+
<meta charset="utf-8">
|
12
|
+
<title><%= yield(:phc_seo_title) %></title>
|
13
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
14
|
+
<meta name="description" content="<%= yield(:phc_seo_description) %>">
|
15
|
+
<!-- SEO and Site Description -->
|
16
|
+
|
17
|
+
<!-- Rails Security Tags -->
|
18
|
+
<%= csrf_meta_tags %>
|
19
|
+
<%= csp_meta_tag %>
|
20
|
+
<!-- Rails Security Tags -->
|
21
|
+
|
22
|
+
<!-- CSS Styles -->
|
23
|
+
<%= stylesheet_link_tag "phcthemes_admin_panel_pack_coloradmin", media: "all" %>
|
24
|
+
<!-- CSS Styles -->
|
25
|
+
|
26
|
+
<!-- JavaScript -->
|
27
|
+
<%= javascript_include_tag "phcthemes_admin_panel_pack_coloradmin" %>
|
28
|
+
<!-- JavaScript -->
|
29
|
+
|
30
|
+
</head>
|
31
|
+
<body>
|
32
|
+
|
33
|
+
<!-- Page Container -->
|
34
|
+
<div id="page-container" class="fade page-sidebar-fixed page-header-fixed">
|
35
|
+
|
36
|
+
<!-- Page Header -->
|
37
|
+
<div id="header" class="header navbar-default">
|
38
|
+
<%= render "layouts/phcdevworks_real_estate/components/backend/navigation/top_menu" %>
|
39
|
+
</div>
|
40
|
+
<!-- Page Header -->
|
41
|
+
|
42
|
+
<!-- Page Sidebar -->
|
43
|
+
<div id="sidebar" class="sidebar">
|
44
|
+
<%= render "layouts/phcdevworks_real_estate/components/backend/sidebars/side_menu" %>
|
45
|
+
</div>
|
46
|
+
<div class="sidebar-bg"></div>
|
47
|
+
<!-- Page Sidebar -->
|
48
|
+
|
49
|
+
<!-- Page Content -->
|
50
|
+
<div id="content" class="content">
|
51
|
+
<%= render "phcdevworks_notifications/bootstrap/notifications" %>
|
52
|
+
<%= yield %>
|
53
|
+
</div>
|
54
|
+
<!-- Page Content -->
|
55
|
+
|
56
|
+
<!-- Footer Content -->
|
57
|
+
<div id="footer" class="footer mb-4">
|
58
|
+
<%= render "layouts/phcdevworks_real_estate/components/backend/footer/footer" %>
|
59
|
+
</div>
|
60
|
+
<!-- Footer Content -->
|
61
|
+
|
62
|
+
</div>
|
63
|
+
<!-- Page Container -->
|
64
|
+
|
65
|
+
</body>
|
66
|
+
</html>
|
File without changes
|
data/app/views/layouts/phcdevworks_real_estate/components/backend/navigation/_top_menu.html.erb
CHANGED
File without changes
|
data/app/views/layouts/phcdevworks_real_estate/components/backend/sidebars/_side_menu.html.erb
CHANGED
@@ -277,49 +277,49 @@
|
|
277
277
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Core Modules -->
|
278
278
|
<% end %>
|
279
279
|
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
<
|
285
|
-
<
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
<
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
<
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
<
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
280
|
+
<% if current_user and current_user.admin? %>
|
281
|
+
<li class="nav-header">Administration</li>
|
282
|
+
<% if defined?phcdevworks_accounts_stripe and current_user.admin? %>
|
283
|
+
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Accounts Stripe -->
|
284
|
+
<li class="has-sub">
|
285
|
+
<a href="javascript:;">
|
286
|
+
<b class="caret"></b>
|
287
|
+
<i class="fab fa-cc-visa"></i>
|
288
|
+
<span>Accounting</span>
|
289
|
+
</a>
|
290
|
+
<ul class="sub-menu">
|
291
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/subscriptions#admin_subscription_list") %>"><%= link_to("Invoices", phcdevworks_accounts_stripe.admin_invoices_path) %></li>
|
292
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/subscriptions#admin_subscription_list") %>"><%= link_to("Subscriptions", phcdevworks_accounts_stripe.admin_subscriptions_path) %></li>
|
293
|
+
</ul>
|
294
|
+
</li>
|
295
|
+
<li class="has-sub">
|
296
|
+
<a href="javascript:;">
|
297
|
+
<b class="caret"></b>
|
298
|
+
<i class="fad fa-money-check-alt"></i>
|
299
|
+
<span>Services</span>
|
300
|
+
</a>
|
301
|
+
<ul class="sub-menu">
|
302
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/products#admin_products_list") %>"><%= link_to("Product List", phcdevworks_accounts_stripe.admin_products_path) %></li>
|
303
|
+
</ul>
|
304
|
+
</li>
|
305
|
+
<li class="has-sub">
|
306
|
+
<a href="javascript:;">
|
307
|
+
<b class="caret"></b>
|
308
|
+
<i class="fad fa-users"></i>
|
309
|
+
<span>Customers</span>
|
310
|
+
</a>
|
311
|
+
<ul class="sub-menu">
|
312
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/customers#admin_customer_list") %>"><%= link_to("Customer List", phcdevworks_accounts_stripe.admin_customers_path) %></li>
|
313
|
+
</ul>
|
314
|
+
</li>
|
315
|
+
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Accounts Stripe -->
|
316
|
+
<% end %>
|
317
317
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCAccounts Admin Options -->
|
318
318
|
<li class="has-sub">
|
319
319
|
<a href="javascript:;">
|
320
320
|
<b class="caret"></b>
|
321
|
-
<i class="fad fa-user"></i>
|
322
|
-
<span>User
|
321
|
+
<i class="fad fa-user-lock"></i>
|
322
|
+
<span>User Logins</span>
|
323
323
|
</a>
|
324
324
|
<ul class="sub-menu">
|
325
325
|
<li class="<%= phc_menu_active_controller("phcdevworks_accounts/admin/users") %>"><%= link_to "User List", phcdevworks_accounts.admin_users_all_path %></li>
|
@@ -329,13 +329,13 @@
|
|
329
329
|
<% end %>
|
330
330
|
|
331
331
|
<li class="nav-header">Your Account</li>
|
332
|
-
<% if defined?phcdevworks_accounts_stripe
|
332
|
+
<% if defined?phcdevworks_accounts_stripe and current_user %>
|
333
333
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Accounts Stripe -->
|
334
334
|
<li class="has-sub">
|
335
335
|
<a href="javascript:;">
|
336
336
|
<b class="caret"></b>
|
337
337
|
<i class="fad fa-money-check-alt"></i>
|
338
|
-
<span>
|
338
|
+
<span>Your Subscription</span>
|
339
339
|
</a>
|
340
340
|
<ul class="sub-menu">
|
341
341
|
<li class="<%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/subscriptions#admin_subscription_list") %>"><%= link_to("Your Subscription", phcdevworks_accounts_stripe.user_subscription_path) %></li>
|
@@ -346,7 +346,7 @@
|
|
346
346
|
<a href="javascript:;">
|
347
347
|
<b class="caret"></b>
|
348
348
|
<i class="fad fa-file-invoice"></i>
|
349
|
-
<span>Invoices</span>
|
349
|
+
<span>Your Invoices</span>
|
350
350
|
</a>
|
351
351
|
<ul class="sub-menu">
|
352
352
|
<li class="<%= phc_menu_active_controller("phcdevworks_accounts_stripe/user/invoices#admin_customer_list") %>"><%= link_to("Current Invoice", phcdevworks_accounts_stripe.user_invoices_path) %></li>
|
@@ -362,7 +362,7 @@
|
|
362
362
|
<a href="javascript:;">
|
363
363
|
<b class="caret"></b>
|
364
364
|
<i class="fad fa-user"></i>
|
365
|
-
<span>
|
365
|
+
<span>Login Settings</span>
|
366
366
|
</a>
|
367
367
|
<ul class="sub-menu">
|
368
368
|
<li class="<%= phc_menu_active_controller("phcdevworks_accounts/user/edit") %>"><%= link_to "Settings", phcdevworks_accounts.edit_user_registration_path %></li>
|
@@ -1,22 +1,22 @@
|
|
1
|
-
<!-- Form - Property - Features -->
|
2
|
-
<%= form_with(model: property_feature, local: true) do |phc_pro_property_feature| %>
|
3
|
-
|
4
|
-
<!-- PHCNotifi Render Validation -->
|
5
|
-
<%= render "phcdevworks_notifications/bootstrap/validations", :object => @property_feature %>
|
6
|
-
<!-- PHCNotifi Render Validation -->
|
7
|
-
|
8
|
-
<!-- Form Input Fields -->
|
9
|
-
<div class="form-group">
|
10
|
-
<%= phc_pro_property_feature.label :property_feature_name, "Feature Name" %>
|
11
|
-
<%= phc_pro_property_feature.text_field :property_feature_name, placeholder: "Feature Name", class: "form-control" %>
|
12
|
-
</div>
|
13
|
-
<!-- Form Input Fields -->
|
14
|
-
|
15
|
-
<!-- Form Submition Button -->
|
16
|
-
<div class="actions">
|
17
|
-
<%= phc_pro_property_feature.submit class: "btn btn-primary" %>
|
18
|
-
</div>
|
19
|
-
<!-- For Submition Button -->
|
20
|
-
|
21
|
-
<% end %>
|
22
|
-
<!-- Form - Property - Features -->
|
1
|
+
<!-- Form - Property - Features -->
|
2
|
+
<%= form_with(model: property_feature, local: true) do |phc_pro_property_feature| %>
|
3
|
+
|
4
|
+
<!-- PHCNotifi Render Validation -->
|
5
|
+
<%= render "phcdevworks_notifications/bootstrap/validations", :object => @property_feature %>
|
6
|
+
<!-- PHCNotifi Render Validation -->
|
7
|
+
|
8
|
+
<!-- Form Input Fields -->
|
9
|
+
<div class="form-group">
|
10
|
+
<%= phc_pro_property_feature.label :property_feature_name, "Feature Name" %>
|
11
|
+
<%= phc_pro_property_feature.text_field :property_feature_name, placeholder: "Feature Name", class: "form-control" %>
|
12
|
+
</div>
|
13
|
+
<!-- Form Input Fields -->
|
14
|
+
|
15
|
+
<!-- Form Submition Button -->
|
16
|
+
<div class="actions">
|
17
|
+
<%= phc_pro_property_feature.submit class: "btn btn-primary" %>
|
18
|
+
</div>
|
19
|
+
<!-- For Submition Button -->
|
20
|
+
|
21
|
+
<% end %>
|
22
|
+
<!-- Form - Property - Features -->
|
@@ -1,49 +1,49 @@
|
|
1
|
-
<!-- PHCTitleSEO Title Variables -->
|
2
|
-
<% phc_title "Property Listing Features" %>
|
3
|
-
<% phc_title_tagline "Edit Listing Features" %>
|
4
|
-
<% phc_breadcrumb_one link_to "Property" %>
|
5
|
-
<% phc_breadcrumb_two link_to "Features" %>
|
6
|
-
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!-- PHCTitleSEO Title Variables -->
|
8
|
-
|
9
|
-
<!-- Page Bradcrumbs -->
|
10
|
-
<ol class="breadcrumb pull-right">
|
11
|
-
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
12
|
-
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
-
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
-
</ol>
|
15
|
-
<!-- Page Bradcrumbs -->
|
16
|
-
|
17
|
-
<!-- Page Header -->
|
18
|
-
<h2 class="page-header"><%= yield(:phc_title) %></h2>
|
19
|
-
<!-- Page Header -->
|
20
|
-
|
21
|
-
<!-- Page Content -->
|
22
|
-
<div class="row">
|
23
|
-
<div class="col-lg-12">
|
24
|
-
|
25
|
-
<!-- Panel -->
|
26
|
-
<div class="panel panel-inverse">
|
27
|
-
|
28
|
-
<!-- Panel - Heading -->
|
29
|
-
<div class="panel-heading">
|
30
|
-
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
31
|
-
</div>
|
32
|
-
<!-- Panel - Heading -->
|
33
|
-
|
34
|
-
<!-- Panel - Body -->
|
35
|
-
<div class="panel-body">
|
36
|
-
|
37
|
-
<!-- Edit Form -->
|
38
|
-
<%= render "form", property_feature: @property_feature %>
|
39
|
-
<!-- Edit Form -->
|
40
|
-
|
41
|
-
</div>
|
42
|
-
<!-- Panel - Body -->
|
43
|
-
|
44
|
-
</div>
|
45
|
-
<!-- Panel -->
|
46
|
-
|
47
|
-
</div>
|
48
|
-
</div>
|
49
|
-
<!-- Page Content -->
|
1
|
+
<!-- PHCTitleSEO Title Variables -->
|
2
|
+
<% phc_title "Property Listing Features" %>
|
3
|
+
<% phc_title_tagline "Edit Listing Features" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Property" %>
|
5
|
+
<% phc_breadcrumb_two link_to "Features" %>
|
6
|
+
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
+
<!-- PHCTitleSEO Title Variables -->
|
8
|
+
|
9
|
+
<!-- Page Bradcrumbs -->
|
10
|
+
<ol class="breadcrumb pull-right">
|
11
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
12
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- Page Bradcrumbs -->
|
16
|
+
|
17
|
+
<!-- Page Header -->
|
18
|
+
<h2 class="page-header"><%= yield(:phc_title) %></h2>
|
19
|
+
<!-- Page Header -->
|
20
|
+
|
21
|
+
<!-- Page Content -->
|
22
|
+
<div class="row">
|
23
|
+
<div class="col-lg-12">
|
24
|
+
|
25
|
+
<!-- Panel -->
|
26
|
+
<div class="panel panel-inverse">
|
27
|
+
|
28
|
+
<!-- Panel - Heading -->
|
29
|
+
<div class="panel-heading">
|
30
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
31
|
+
</div>
|
32
|
+
<!-- Panel - Heading -->
|
33
|
+
|
34
|
+
<!-- Panel - Body -->
|
35
|
+
<div class="panel-body">
|
36
|
+
|
37
|
+
<!-- Edit Form -->
|
38
|
+
<%= render "form", property_feature: @property_feature %>
|
39
|
+
<!-- Edit Form -->
|
40
|
+
|
41
|
+
</div>
|
42
|
+
<!-- Panel - Body -->
|
43
|
+
|
44
|
+
</div>
|
45
|
+
<!-- Panel -->
|
46
|
+
|
47
|
+
</div>
|
48
|
+
</div>
|
49
|
+
<!-- Page Content -->
|
@@ -1,82 +1,82 @@
|
|
1
|
-
<!-- PHCTitleSEO Title Variables -->
|
2
|
-
<% phc_title "Admin - Property Listing Features" %>
|
3
|
-
<% phc_title_tagline "Listing Features" %>
|
4
|
-
<% phc_breadcrumb_one link_to "Property" %>
|
5
|
-
<% phc_breadcrumb_two link_to "Features" %>
|
6
|
-
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!-- PHCTitleSEO Title Variables -->
|
8
|
-
|
9
|
-
<!-- Page Bradcrumbs -->
|
10
|
-
<ol class="breadcrumb pull-right">
|
11
|
-
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
12
|
-
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
-
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
-
</ol>
|
15
|
-
<!-- Page Bradcrumbs -->
|
16
|
-
|
17
|
-
<!-- Page Header -->
|
18
|
-
<h2 class="page-header"><%= yield(:phc_title) %></h2>
|
19
|
-
<!-- Page Header -->
|
20
|
-
|
21
|
-
<!-- Page Content -->
|
22
|
-
<div class="row">
|
23
|
-
<div class="col-lg-12">
|
24
|
-
|
25
|
-
<!-- Panel -->
|
26
|
-
<div class="panel panel-inverse">
|
27
|
-
|
28
|
-
<!-- Panel - Heading -->
|
29
|
-
<div class="panel-heading">
|
30
|
-
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
31
|
-
</div>
|
32
|
-
<!-- Panel - Heading -->
|
33
|
-
|
34
|
-
<!-- Panel - Body -->
|
35
|
-
<div class="panel-body">
|
36
|
-
|
37
|
-
<!-- Index - Table -->
|
38
|
-
<div class="table-responsive">
|
39
|
-
<table class="table table-striped table-bordered">
|
40
|
-
|
41
|
-
<thead>
|
42
|
-
<tr>
|
43
|
-
<th>Feature Name</th>
|
44
|
-
<th></th>
|
45
|
-
</tr>
|
46
|
-
</thead>
|
47
|
-
|
48
|
-
<tbody>
|
49
|
-
<% @property_features.each do |property_feature| %>
|
50
|
-
<tr>
|
51
|
-
<td class="highlight"><%= link_to property_feature.property_feature_name, property_feature %></td>
|
52
|
-
<td>
|
53
|
-
<div class="btn-group d-flex" role="group" aria-label="Property Listings">
|
54
|
-
<%= link_to "Feature Details", property_feature, class: "btn btn-primary btn-xs" %>
|
55
|
-
<%= link_to "Update Feature", edit_property_feature_path(property_feature), class: "btn btn-primary btn-xs" %>
|
56
|
-
<%= link_to "Remove Feature", property_feature, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: "Are you sure?" } %>
|
57
|
-
</div>
|
58
|
-
</td>
|
59
|
-
</tr>
|
60
|
-
<% end %>
|
61
|
-
</tbody>
|
62
|
-
|
63
|
-
</table>
|
64
|
-
</div>
|
65
|
-
<!-- Index - Table -->
|
66
|
-
|
67
|
-
<!-- New Button -->
|
68
|
-
<%= link_to phcdevworks_real_estate.new_property_feature_path, class: "btn btn-primary" do %>
|
69
|
-
<i class="fad fa-plus-circle"></i>
|
70
|
-
<%= "Add a New Feature" %>
|
71
|
-
<% end %>
|
72
|
-
<!-- New Button -->
|
73
|
-
|
74
|
-
</div>
|
75
|
-
<!-- Panel - Body -->
|
76
|
-
|
77
|
-
</div>
|
78
|
-
<!-- Panel -->
|
79
|
-
|
80
|
-
</div>
|
81
|
-
</div>
|
82
|
-
<!-- Page Content -->
|
1
|
+
<!-- PHCTitleSEO Title Variables -->
|
2
|
+
<% phc_title "Admin - Property Listing Features" %>
|
3
|
+
<% phc_title_tagline "Listing Features" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Property" %>
|
5
|
+
<% phc_breadcrumb_two link_to "Features" %>
|
6
|
+
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
+
<!-- PHCTitleSEO Title Variables -->
|
8
|
+
|
9
|
+
<!-- Page Bradcrumbs -->
|
10
|
+
<ol class="breadcrumb pull-right">
|
11
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
12
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- Page Bradcrumbs -->
|
16
|
+
|
17
|
+
<!-- Page Header -->
|
18
|
+
<h2 class="page-header"><%= yield(:phc_title) %></h2>
|
19
|
+
<!-- Page Header -->
|
20
|
+
|
21
|
+
<!-- Page Content -->
|
22
|
+
<div class="row">
|
23
|
+
<div class="col-lg-12">
|
24
|
+
|
25
|
+
<!-- Panel -->
|
26
|
+
<div class="panel panel-inverse">
|
27
|
+
|
28
|
+
<!-- Panel - Heading -->
|
29
|
+
<div class="panel-heading">
|
30
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
31
|
+
</div>
|
32
|
+
<!-- Panel - Heading -->
|
33
|
+
|
34
|
+
<!-- Panel - Body -->
|
35
|
+
<div class="panel-body">
|
36
|
+
|
37
|
+
<!-- Index - Table -->
|
38
|
+
<div class="table-responsive">
|
39
|
+
<table class="table table-striped table-bordered">
|
40
|
+
|
41
|
+
<thead>
|
42
|
+
<tr>
|
43
|
+
<th>Feature Name</th>
|
44
|
+
<th></th>
|
45
|
+
</tr>
|
46
|
+
</thead>
|
47
|
+
|
48
|
+
<tbody>
|
49
|
+
<% @property_features.each do |property_feature| %>
|
50
|
+
<tr>
|
51
|
+
<td class="highlight"><%= link_to property_feature.property_feature_name, property_feature %></td>
|
52
|
+
<td>
|
53
|
+
<div class="btn-group d-flex" role="group" aria-label="Property Listings">
|
54
|
+
<%= link_to "Feature Details", property_feature, class: "btn btn-primary btn-xs" %>
|
55
|
+
<%= link_to "Update Feature", edit_property_feature_path(property_feature), class: "btn btn-primary btn-xs" %>
|
56
|
+
<%= link_to "Remove Feature", property_feature, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: "Are you sure?" } %>
|
57
|
+
</div>
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
<% end %>
|
61
|
+
</tbody>
|
62
|
+
|
63
|
+
</table>
|
64
|
+
</div>
|
65
|
+
<!-- Index - Table -->
|
66
|
+
|
67
|
+
<!-- New Button -->
|
68
|
+
<%= link_to phcdevworks_real_estate.new_property_feature_path, class: "btn btn-primary" do %>
|
69
|
+
<i class="fad fa-plus-circle"></i>
|
70
|
+
<%= "Add a New Feature" %>
|
71
|
+
<% end %>
|
72
|
+
<!-- New Button -->
|
73
|
+
|
74
|
+
</div>
|
75
|
+
<!-- Panel - Body -->
|
76
|
+
|
77
|
+
</div>
|
78
|
+
<!-- Panel -->
|
79
|
+
|
80
|
+
</div>
|
81
|
+
</div>
|
82
|
+
<!-- Page Content -->
|