phcdevworks_real_estate 5.1.1 → 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 +0 -0
- 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 -19
- 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 -47
- 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
File without changes
|
@@ -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 -->
|
@@ -1,49 +1,49 @@
|
|
1
|
-
<!-- PHCTitleSEO Title Variables -->
|
2
|
-
<% phc_title "Property Listing Manager" %>
|
3
|
-
<% phc_title_tagline "New Property Listing" %>
|
4
|
-
<% phc_breadcrumb_one link_to "Property" %>
|
5
|
-
<% phc_breadcrumb_two link_to "Listings" %>
|
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
|
-
<!-- New Form -->
|
38
|
-
<%= render "form", property_feature: @property_feature %>
|
39
|
-
<!-- New 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 Manager" %>
|
3
|
+
<% phc_title_tagline "New Property Listing" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Property" %>
|
5
|
+
<% phc_breadcrumb_two link_to "Listings" %>
|
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
|
+
<!-- New Form -->
|
38
|
+
<%= render "form", property_feature: @property_feature %>
|
39
|
+
<!-- New Form -->
|
40
|
+
|
41
|
+
</div>
|
42
|
+
<!-- Panel - Body -->
|
43
|
+
|
44
|
+
</div>
|
45
|
+
<!-- Panel -->
|
46
|
+
|
47
|
+
</div>
|
48
|
+
</div>
|
49
|
+
<!-- Page Content -->
|