kaui 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/kaui/account_tags_controller.rb +38 -27
- data/app/controllers/kaui/account_timelines_controller.rb +10 -4
- data/app/controllers/kaui/accounts_controller.rb +31 -12
- data/app/controllers/kaui/bundle_tags_controller.rb +5 -1
- data/app/controllers/kaui/bundles_controller.rb +6 -3
- data/app/controllers/kaui/chargebacks_controller.rb +21 -12
- data/app/controllers/kaui/charges_controller.rb +15 -13
- data/app/controllers/kaui/credits_controller.rb +19 -9
- data/app/controllers/kaui/invoice_items_controller.rb +9 -5
- data/app/controllers/kaui/invoices_controller.rb +28 -20
- data/app/controllers/kaui/payments_controller.rb +11 -6
- data/app/controllers/kaui/refunds_controller.rb +9 -4
- data/app/controllers/kaui/subscriptions_controller.rb +50 -38
- data/app/helpers/kaui/killbill_helper.rb +202 -332
- data/app/models/kaui/account_email.rb +22 -11
- data/app/views/kaui/chargebacks/new.html.erb +3 -1
- data/app/views/kaui/refunds/new.html.erb +4 -2
- data/app/views/kaui/subscriptions/_subscriptions_table.html.erb +2 -4
- data/lib/kaui/version.rb +1 -1
- data/test/dummy/log/test.log +997 -113084
- metadata +2 -67
- data/app/controllers/kaui/tags_controller.rb +0 -85
- data/app/views/kaui/account_emails/edit.html.erb +0 -6
- data/app/views/kaui/tags/_form.html.erb +0 -25
- data/app/views/kaui/tags/edit.html.erb +0 -6
- data/app/views/kaui/tags/index.html.erb +0 -25
- data/app/views/kaui/tags/new.html.erb +0 -5
- data/app/views/kaui/tags/show.html.erb +0 -15
- data/test/dummy/log/development.log +0 -60886
- data/test/dummy/test/fixtures/bill_cycle_days.yml +0 -3
- data/test/dummy/tmp/cache/assets/C94/4E0/sprockets%2Fea1476dc10a3348303f74d111f70441a +0 -0
- data/test/dummy/tmp/cache/assets/C95/690/sprockets%2Fc4b083702793f7599f4a3069c50f89a8 +0 -0
- data/test/dummy/tmp/cache/assets/CAA/680/sprockets%2F3824d037523f650518fb22acab75559d +0 -0
- data/test/dummy/tmp/cache/assets/CC2/520/sprockets%2F9637f46d37325381f96d96d94ae0bc50 +0 -0
- data/test/dummy/tmp/cache/assets/CD0/9D0/sprockets%2F5c9508c21501c73fbe00473a09b1f5f4 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CDF/1F0/sprockets%2F76ac5628a0c4d1b976cb622ec4493751 +0 -381
- data/test/dummy/tmp/cache/assets/CEA/300/sprockets%2Fdf2ad5c9d0990441c2bf59883383d652 +0 -0
- data/test/dummy/tmp/cache/assets/CF7/710/sprockets%2F86d43448e1fc383cb6f3d752ef288882 +0 -0
- data/test/dummy/tmp/cache/assets/D17/DD0/sprockets%2F665455ecdc7609b23f4ecb366d86055a +0 -9409
- data/test/dummy/tmp/cache/assets/D32/200/sprockets%2Ffa467106e01bda5d6246baea72159d64 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D39/5E0/sprockets%2F59fd338be48a81a17a2a785cbd1612b4 +0 -0
- data/test/dummy/tmp/cache/assets/D44/170/sprockets%2Fac15571bce3f926a498da7cd09322d97 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D6C/710/sprockets%2F1765773caead06c0a6a19ea9de2453f7 +0 -0
- data/test/dummy/tmp/cache/assets/D76/910/sprockets%2Ff99b4bdc434e11e8634e6af62fe805e0 +0 -0
- data/test/dummy/tmp/cache/assets/D9F/160/sprockets%2F510462e1ebd5dbb7ae20888b77f9bed2 +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E07/1E0/sprockets%2F5a3fe6e98fdf72bbe75c605e54ebc5b0 +0 -9409
- data/test/dummy/tmp/cache/assets/E20/230/sprockets%2F7d3b1348fdf74cf1b6ba2107fbbac5af +0 -0
- data/test/dummy/tmp/cache/assets/E22/F40/sprockets%2Faffacf2e6be325520bd3bfd2096b6dd4 +0 -0
- data/test/dummy/tmp/cache/assets/E24/9D0/sprockets%2Fb966ab0a50fda3c156fbad4d8ab73ef6 +0 -381
- data/test/functional/kaui/account_emails_controller_test.rb +0 -51
- data/test/functional/kaui/tags_controller_test.rb +0 -51
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: kaui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.8
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Alena Dudzinskaya
|
@@ -59,7 +59,6 @@ files:
|
|
59
59
|
- app/controllers/kaui/refunds_controller.rb
|
60
60
|
- app/controllers/kaui/subscriptions_controller.rb
|
61
61
|
- app/controllers/kaui/tag_definitions_controller.rb
|
62
|
-
- app/controllers/kaui/tags_controller.rb
|
63
62
|
- app/helpers/kaui/application_helper.rb
|
64
63
|
- app/helpers/kaui/date_helper.rb
|
65
64
|
- app/helpers/kaui/home_helper.rb
|
@@ -90,7 +89,6 @@ files:
|
|
90
89
|
- app/models/kaui/tag_definition.rb
|
91
90
|
- app/views/kaui/account_emails/_account_emails_table.html.erb
|
92
91
|
- app/views/kaui/account_emails/_form.html.erb
|
93
|
-
- app/views/kaui/account_emails/edit.html.erb
|
94
92
|
- app/views/kaui/account_emails/new.html.erb
|
95
93
|
- app/views/kaui/account_emails/show.html.erb
|
96
94
|
- app/views/kaui/account_tags/_account_tags_table.html.erb
|
@@ -137,12 +135,7 @@ files:
|
|
137
135
|
- app/views/kaui/tag_definitions/index.html.erb
|
138
136
|
- app/views/kaui/tag_definitions/new.html.erb
|
139
137
|
- app/views/kaui/tag_definitions/show.html.erb
|
140
|
-
- app/views/kaui/tags/_form.html.erb
|
141
138
|
- app/views/kaui/tags/_tags_table.html.erb
|
142
|
-
- app/views/kaui/tags/edit.html.erb
|
143
|
-
- app/views/kaui/tags/index.html.erb
|
144
|
-
- app/views/kaui/tags/new.html.erb
|
145
|
-
- app/views/kaui/tags/show.html.erb
|
146
139
|
- config/routes.rb
|
147
140
|
- config/initializers/time_formats.rb
|
148
141
|
- config/locales/en.yml
|
@@ -180,7 +173,6 @@ files:
|
|
180
173
|
- test/dummy/config/initializers/session_store.rb
|
181
174
|
- test/dummy/config/initializers/wrap_parameters.rb
|
182
175
|
- test/dummy/config/locales/en.yml
|
183
|
-
- test/dummy/log/development.log
|
184
176
|
- test/dummy/log/test.log
|
185
177
|
- test/dummy/public/404.html
|
186
178
|
- test/dummy/public/422.html
|
@@ -188,7 +180,6 @@ files:
|
|
188
180
|
- test/dummy/public/favicon.ico
|
189
181
|
- test/dummy/script/rails
|
190
182
|
- test/dummy/test/fixtures/accounts.yml
|
191
|
-
- test/dummy/test/fixtures/bill_cycle_days.yml
|
192
183
|
- test/dummy/test/fixtures/bundles.yml
|
193
184
|
- test/dummy/test/fixtures/invoice_items.yml
|
194
185
|
- test/dummy/test/fixtures/invoices.yml
|
@@ -197,37 +188,11 @@ files:
|
|
197
188
|
- test/dummy/test/fixtures/plugin_infos.yml
|
198
189
|
- test/dummy/test/fixtures/refunds.yml
|
199
190
|
- test/dummy/test/fixtures/tag_definitions.yml
|
200
|
-
- test/dummy/tmp/cache/assets/C94/4E0/sprockets%2Fea1476dc10a3348303f74d111f70441a
|
201
|
-
- test/dummy/tmp/cache/assets/C95/690/sprockets%2Fc4b083702793f7599f4a3069c50f89a8
|
202
|
-
- test/dummy/tmp/cache/assets/CAA/680/sprockets%2F3824d037523f650518fb22acab75559d
|
203
|
-
- test/dummy/tmp/cache/assets/CC2/520/sprockets%2F9637f46d37325381f96d96d94ae0bc50
|
204
|
-
- test/dummy/tmp/cache/assets/CD0/9D0/sprockets%2F5c9508c21501c73fbe00473a09b1f5f4
|
205
|
-
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
206
|
-
- test/dummy/tmp/cache/assets/CDF/1F0/sprockets%2F76ac5628a0c4d1b976cb622ec4493751
|
207
|
-
- test/dummy/tmp/cache/assets/CEA/300/sprockets%2Fdf2ad5c9d0990441c2bf59883383d652
|
208
|
-
- test/dummy/tmp/cache/assets/CF7/710/sprockets%2F86d43448e1fc383cb6f3d752ef288882
|
209
|
-
- test/dummy/tmp/cache/assets/D17/DD0/sprockets%2F665455ecdc7609b23f4ecb366d86055a
|
210
|
-
- test/dummy/tmp/cache/assets/D32/200/sprockets%2Ffa467106e01bda5d6246baea72159d64
|
211
|
-
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
212
|
-
- test/dummy/tmp/cache/assets/D39/5E0/sprockets%2F59fd338be48a81a17a2a785cbd1612b4
|
213
|
-
- test/dummy/tmp/cache/assets/D44/170/sprockets%2Fac15571bce3f926a498da7cd09322d97
|
214
|
-
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
215
|
-
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
216
|
-
- test/dummy/tmp/cache/assets/D6C/710/sprockets%2F1765773caead06c0a6a19ea9de2453f7
|
217
|
-
- test/dummy/tmp/cache/assets/D76/910/sprockets%2Ff99b4bdc434e11e8634e6af62fe805e0
|
218
|
-
- test/dummy/tmp/cache/assets/D9F/160/sprockets%2F510462e1ebd5dbb7ae20888b77f9bed2
|
219
|
-
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
220
|
-
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
221
|
-
- test/dummy/tmp/cache/assets/E07/1E0/sprockets%2F5a3fe6e98fdf72bbe75c605e54ebc5b0
|
222
|
-
- test/dummy/tmp/cache/assets/E20/230/sprockets%2F7d3b1348fdf74cf1b6ba2107fbbac5af
|
223
|
-
- test/dummy/tmp/cache/assets/E22/F40/sprockets%2Faffacf2e6be325520bd3bfd2096b6dd4
|
224
|
-
- test/dummy/tmp/cache/assets/E24/9D0/sprockets%2Fb966ab0a50fda3c156fbad4d8ab73ef6
|
225
191
|
- test/dummy/vendor/assets/images/img/glyphicons-halflings-white.png
|
226
192
|
- test/dummy/vendor/assets/images/img/glyphicons-halflings.png
|
227
193
|
- test/dummy/vendor/assets/javascripts/bootstrap.v2.0.4.min.js
|
228
194
|
- test/dummy/vendor/assets/javascripts/jquery.dataTables.v1.9.3.min.js
|
229
195
|
- test/dummy/vendor/assets/stylesheets/bootstrap.v2.0.4.min.css
|
230
|
-
- test/functional/kaui/account_emails_controller_test.rb
|
231
196
|
- test/functional/kaui/account_timeline_controller_test.rb
|
232
197
|
- test/functional/kaui/accounts_controller_test.rb
|
233
198
|
- test/functional/kaui/bundles_controller_test.rb
|
@@ -239,7 +204,6 @@ files:
|
|
239
204
|
- test/functional/kaui/payments_controller_test.rb
|
240
205
|
- test/functional/kaui/refunds_controller_test.rb
|
241
206
|
- test/functional/kaui/tag_definitions_controller_test.rb
|
242
|
-
- test/functional/kaui/tags_controller_test.rb
|
243
207
|
- test/integration/navigation_test.rb
|
244
208
|
- test/unit/model_test.rb
|
245
209
|
- test/unit/helpers/kaui/account_timeline_helper_test.rb
|
@@ -287,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
287
251
|
requirements: []
|
288
252
|
|
289
253
|
rubyforge_project:
|
290
|
-
rubygems_version: 1.8.
|
254
|
+
rubygems_version: 1.8.15
|
291
255
|
signing_key:
|
292
256
|
specification_version: 3
|
293
257
|
summary: Killbill Admin UI plugin
|
@@ -317,7 +281,6 @@ test_files:
|
|
317
281
|
- test/dummy/config/initializers/session_store.rb
|
318
282
|
- test/dummy/config/initializers/wrap_parameters.rb
|
319
283
|
- test/dummy/config/locales/en.yml
|
320
|
-
- test/dummy/log/development.log
|
321
284
|
- test/dummy/log/test.log
|
322
285
|
- test/dummy/public/404.html
|
323
286
|
- test/dummy/public/422.html
|
@@ -325,7 +288,6 @@ test_files:
|
|
325
288
|
- test/dummy/public/favicon.ico
|
326
289
|
- test/dummy/script/rails
|
327
290
|
- test/dummy/test/fixtures/accounts.yml
|
328
|
-
- test/dummy/test/fixtures/bill_cycle_days.yml
|
329
291
|
- test/dummy/test/fixtures/bundles.yml
|
330
292
|
- test/dummy/test/fixtures/invoice_items.yml
|
331
293
|
- test/dummy/test/fixtures/invoices.yml
|
@@ -334,37 +296,11 @@ test_files:
|
|
334
296
|
- test/dummy/test/fixtures/plugin_infos.yml
|
335
297
|
- test/dummy/test/fixtures/refunds.yml
|
336
298
|
- test/dummy/test/fixtures/tag_definitions.yml
|
337
|
-
- test/dummy/tmp/cache/assets/C94/4E0/sprockets%2Fea1476dc10a3348303f74d111f70441a
|
338
|
-
- test/dummy/tmp/cache/assets/C95/690/sprockets%2Fc4b083702793f7599f4a3069c50f89a8
|
339
|
-
- test/dummy/tmp/cache/assets/CAA/680/sprockets%2F3824d037523f650518fb22acab75559d
|
340
|
-
- test/dummy/tmp/cache/assets/CC2/520/sprockets%2F9637f46d37325381f96d96d94ae0bc50
|
341
|
-
- test/dummy/tmp/cache/assets/CD0/9D0/sprockets%2F5c9508c21501c73fbe00473a09b1f5f4
|
342
|
-
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
343
|
-
- test/dummy/tmp/cache/assets/CDF/1F0/sprockets%2F76ac5628a0c4d1b976cb622ec4493751
|
344
|
-
- test/dummy/tmp/cache/assets/CEA/300/sprockets%2Fdf2ad5c9d0990441c2bf59883383d652
|
345
|
-
- test/dummy/tmp/cache/assets/CF7/710/sprockets%2F86d43448e1fc383cb6f3d752ef288882
|
346
|
-
- test/dummy/tmp/cache/assets/D17/DD0/sprockets%2F665455ecdc7609b23f4ecb366d86055a
|
347
|
-
- test/dummy/tmp/cache/assets/D32/200/sprockets%2Ffa467106e01bda5d6246baea72159d64
|
348
|
-
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
349
|
-
- test/dummy/tmp/cache/assets/D39/5E0/sprockets%2F59fd338be48a81a17a2a785cbd1612b4
|
350
|
-
- test/dummy/tmp/cache/assets/D44/170/sprockets%2Fac15571bce3f926a498da7cd09322d97
|
351
|
-
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
352
|
-
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
353
|
-
- test/dummy/tmp/cache/assets/D6C/710/sprockets%2F1765773caead06c0a6a19ea9de2453f7
|
354
|
-
- test/dummy/tmp/cache/assets/D76/910/sprockets%2Ff99b4bdc434e11e8634e6af62fe805e0
|
355
|
-
- test/dummy/tmp/cache/assets/D9F/160/sprockets%2F510462e1ebd5dbb7ae20888b77f9bed2
|
356
|
-
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
357
|
-
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
358
|
-
- test/dummy/tmp/cache/assets/E07/1E0/sprockets%2F5a3fe6e98fdf72bbe75c605e54ebc5b0
|
359
|
-
- test/dummy/tmp/cache/assets/E20/230/sprockets%2F7d3b1348fdf74cf1b6ba2107fbbac5af
|
360
|
-
- test/dummy/tmp/cache/assets/E22/F40/sprockets%2Faffacf2e6be325520bd3bfd2096b6dd4
|
361
|
-
- test/dummy/tmp/cache/assets/E24/9D0/sprockets%2Fb966ab0a50fda3c156fbad4d8ab73ef6
|
362
299
|
- test/dummy/vendor/assets/images/img/glyphicons-halflings-white.png
|
363
300
|
- test/dummy/vendor/assets/images/img/glyphicons-halflings.png
|
364
301
|
- test/dummy/vendor/assets/javascripts/bootstrap.v2.0.4.min.js
|
365
302
|
- test/dummy/vendor/assets/javascripts/jquery.dataTables.v1.9.3.min.js
|
366
303
|
- test/dummy/vendor/assets/stylesheets/bootstrap.v2.0.4.min.css
|
367
|
-
- test/functional/kaui/account_emails_controller_test.rb
|
368
304
|
- test/functional/kaui/account_timeline_controller_test.rb
|
369
305
|
- test/functional/kaui/accounts_controller_test.rb
|
370
306
|
- test/functional/kaui/bundles_controller_test.rb
|
@@ -376,7 +312,6 @@ test_files:
|
|
376
312
|
- test/functional/kaui/payments_controller_test.rb
|
377
313
|
- test/functional/kaui/refunds_controller_test.rb
|
378
314
|
- test/functional/kaui/tag_definitions_controller_test.rb
|
379
|
-
- test/functional/kaui/tags_controller_test.rb
|
380
315
|
- test/integration/navigation_test.rb
|
381
316
|
- test/unit/model_test.rb
|
382
317
|
- test/unit/helpers/kaui/account_timeline_helper_test.rb
|
@@ -1,85 +0,0 @@
|
|
1
|
-
module Kaui
|
2
|
-
class TagsController < ApplicationController
|
3
|
-
# GET /tags
|
4
|
-
# GET /tags.json
|
5
|
-
def index
|
6
|
-
@tags = Tag.all
|
7
|
-
|
8
|
-
respond_to do |format|
|
9
|
-
format.html # index.html.erb
|
10
|
-
format.json { render :json => @tags }
|
11
|
-
end
|
12
|
-
end
|
13
|
-
|
14
|
-
# GET /tags/1
|
15
|
-
# GET /tags/1.json
|
16
|
-
def show
|
17
|
-
@tag = Tag.find(params[:id])
|
18
|
-
|
19
|
-
respond_to do |format|
|
20
|
-
format.html # show.html.erb
|
21
|
-
format.json { render :json => @tag }
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
|
-
# GET /tags/new
|
26
|
-
# GET /tags/new.json
|
27
|
-
def new
|
28
|
-
@tag = Tag.new
|
29
|
-
|
30
|
-
respond_to do |format|
|
31
|
-
format.html # new.html.erb
|
32
|
-
format.json { render :json => @tag }
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
# GET /tags/1/edit
|
37
|
-
def edit
|
38
|
-
@tag = Tag.find(params[:id])
|
39
|
-
end
|
40
|
-
|
41
|
-
# POST /tags
|
42
|
-
# POST /tags.json
|
43
|
-
def create
|
44
|
-
@tag = Tag.new(params[:tag])
|
45
|
-
|
46
|
-
respond_to do |format|
|
47
|
-
if @tag.save
|
48
|
-
format.html { redirect_to @tag, :notice => 'Tag was successfully created.' }
|
49
|
-
format.json { render :json => @tag, :status => :created, :location => @tag }
|
50
|
-
else
|
51
|
-
format.html { render :action => "new" }
|
52
|
-
format.json { render :json => @tag.errors, :status => :unprocessable_entity }
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
56
|
-
|
57
|
-
# PUT /tags/1
|
58
|
-
# PUT /tags/1.json
|
59
|
-
def update
|
60
|
-
@tag = Tag.find(params[:id])
|
61
|
-
|
62
|
-
respond_to do |format|
|
63
|
-
if @tag.update_attributes(params[:tag])
|
64
|
-
format.html { redirect_to @tag, :notice => 'Tag was successfully updated.' }
|
65
|
-
format.json { head :no_content }
|
66
|
-
else
|
67
|
-
format.html { render :action => "edit" }
|
68
|
-
format.json { render :json => @tag.errors, :status => :unprocessable_entity }
|
69
|
-
end
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
# DELETE /tags/1
|
74
|
-
# DELETE /tags/1.json
|
75
|
-
def destroy
|
76
|
-
@tag = Tag.find(params[:id])
|
77
|
-
@tag.destroy
|
78
|
-
|
79
|
-
respond_to do |format|
|
80
|
-
format.html { redirect_to tags_url }
|
81
|
-
format.json { head :no_content }
|
82
|
-
end
|
83
|
-
end
|
84
|
-
end
|
85
|
-
end
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<%= form_for(@tag) do |f| %>
|
2
|
-
<% if @tag.errors.any? %>
|
3
|
-
<div id="error_explanation">
|
4
|
-
<h2><%= pluralize(@tag.errors.count, "error") %> prohibited this tag from being saved:</h2>
|
5
|
-
|
6
|
-
<ul>
|
7
|
-
<% @tag.errors.full_messages.each do |msg| %>
|
8
|
-
<li><%= msg %></li>
|
9
|
-
<% end %>
|
10
|
-
</ul>
|
11
|
-
</div>
|
12
|
-
<% end %>
|
13
|
-
|
14
|
-
<div class="field">
|
15
|
-
<%= f.label :tagDefinitionId %><br />
|
16
|
-
<%= f.text_field :tagDefinitionId %>
|
17
|
-
</div>
|
18
|
-
<div class="field">
|
19
|
-
<%= f.label :tagDefinitionName %><br />
|
20
|
-
<%= f.text_field :tagDefinitionName %>
|
21
|
-
</div>
|
22
|
-
<div class="actions">
|
23
|
-
<%= f.submit %>
|
24
|
-
</div>
|
25
|
-
<% end %>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<h1>Listing tags</h1>
|
2
|
-
|
3
|
-
<table>
|
4
|
-
<tr>
|
5
|
-
<th>Tagdefinitionid</th>
|
6
|
-
<th>Tagdefinitionname</th>
|
7
|
-
<th></th>
|
8
|
-
<th></th>
|
9
|
-
<th></th>
|
10
|
-
</tr>
|
11
|
-
|
12
|
-
<% @tags.each do |tag| %>
|
13
|
-
<tr>
|
14
|
-
<td><%= tag.tagDefinitionId %></td>
|
15
|
-
<td><%= tag.tagDefinitionName %></td>
|
16
|
-
<td><%= link_to 'Show', tag %></td>
|
17
|
-
<td><%= link_to 'Edit', edit_tag_path(tag) %></td>
|
18
|
-
<td><%= link_to 'Destroy', tag, confirm: 'Are you sure?', method: :delete %></td>
|
19
|
-
</tr>
|
20
|
-
<% end %>
|
21
|
-
</table>
|
22
|
-
|
23
|
-
<br />
|
24
|
-
|
25
|
-
<%= link_to 'New Tag', new_tag_path %>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<p id="notice"><%= notice %></p>
|
2
|
-
|
3
|
-
<p>
|
4
|
-
<b>Tagdefinitionid:</b>
|
5
|
-
<%= @tag.tagDefinitionId %>
|
6
|
-
</p>
|
7
|
-
|
8
|
-
<p>
|
9
|
-
<b>Tagdefinitionname:</b>
|
10
|
-
<%= @tag.tagDefinitionName %>
|
11
|
-
</p>
|
12
|
-
|
13
|
-
|
14
|
-
<%= link_to 'Edit', edit_tag_path(@tag) %> |
|
15
|
-
<%= link_to 'Back', tags_path %>
|