1
00:00:00,240 --> 00:00:01,920
Hello, friend, welcome back.

2
00:00:02,340 --> 00:00:08,550
In you previous video, we successfully update our album, so now I want to do if you want to delete

3
00:00:08,550 --> 00:00:15,030
this album, then how can do that work for doing this here in our edit albums into this edit album.

4
00:00:15,040 --> 00:00:19,560
Also here we have to do we have to do it with a specific one of the idea.

5
00:00:19,560 --> 00:00:19,870
Right.

6
00:00:20,370 --> 00:00:23,460
So for doing this, first of all, I wanted to create one of the button.

7
00:00:23,790 --> 00:00:30,330
So, you know, our edit album, Paice, we have to create it and go to our edit album together form

8
00:00:30,330 --> 00:00:32,160
so that we don't need this model.

9
00:00:32,160 --> 00:00:33,150
We don't need this.

10
00:00:33,720 --> 00:00:34,140
You are.

11
00:00:34,230 --> 00:00:35,100
We need it.

12
00:00:35,100 --> 00:00:36,480
And that's our album list.

13
00:00:36,510 --> 00:00:37,680
So we also don't need this.

14
00:00:38,070 --> 00:00:40,850
OK, so not into the edit album here.

15
00:00:40,980 --> 00:00:42,630
I want to do after this.

16
00:00:42,810 --> 00:00:44,450
That is our form after this fall.

17
00:00:44,460 --> 00:00:51,390
My take one of the bracket, I take one of the bracket and after this I want to do and create another

18
00:00:51,390 --> 00:00:51,870
Bartons.

19
00:00:51,870 --> 00:00:54,810
I just simplify it if I need the heavy.

20
00:00:54,840 --> 00:00:59,220
First of all, I want to take all the class one of the bootstrap class.

21
00:01:00,090 --> 00:01:06,180
So I just take one of the booster class as a B10 and then V.T. and also then have another class as a

22
00:01:06,180 --> 00:01:06,750
danger.

23
00:01:07,530 --> 00:01:09,270
That means it will be as a rate.

24
00:01:09,540 --> 00:01:13,080
And then I define liberty and our small size.

25
00:01:13,080 --> 00:01:14,140
I just name it as it is.

26
00:01:14,560 --> 00:01:20,760
OK, and then I just simply defined the a delegate that will be our direct button and into the delete

27
00:01:20,760 --> 00:01:27,630
button here if you're not going to save all and now if you refresh it now you can see that is a delay

28
00:01:27,630 --> 00:01:28,110
button.

29
00:01:28,440 --> 00:01:33,260
So friend here, if you want to add this type of condition, first of all, if you click on the tiller,

30
00:01:33,270 --> 00:01:36,720
first of all, it should be lowered on the confirmation message.

31
00:01:36,720 --> 00:01:38,460
That means one of the pop up message.

32
00:01:38,670 --> 00:01:41,510
I really want to delete this album or not.

33
00:01:41,700 --> 00:01:45,340
So if you click as it is, then after that is you should be reelected.

34
00:01:45,360 --> 00:01:50,310
So if you want to do this type of work, then you can do it with using one of the JavaScript.

35
00:01:50,310 --> 00:01:52,320
So they have all of the JavaScript code.

36
00:01:52,320 --> 00:01:53,670
I want to apply it on here.

37
00:01:54,000 --> 00:02:00,600
And this code name as a unclick seem to the unclick that have also on the function as a confirms.

38
00:02:00,600 --> 00:02:03,540
I just simply defined the return and the confirm.

39
00:02:04,650 --> 00:02:07,770
OK, we've done confoundingly the return from Libya.

40
00:02:07,860 --> 00:02:10,440
Whatever the message you want to display, you can display it.

41
00:02:10,440 --> 00:02:11,670
I just came out of the Delek.

42
00:02:13,410 --> 00:02:18,210
This album, this step up on the masses is still the display.

43
00:02:18,330 --> 00:02:25,620
OK, now if you click, as I say, volle, so here I defined as unclick return and confirm function

44
00:02:25,620 --> 00:02:28,430
that is of the JavaScript function and then the Dilek.

45
00:02:28,440 --> 00:02:31,110
This album that means here shall be so fast.

46
00:02:31,320 --> 00:02:33,570
If you click as it is then it should be deleted.

47
00:02:34,200 --> 00:02:39,640
So lisick I just click the save all this click as a direct.

48
00:02:39,900 --> 00:02:44,580
You can see they have some of the pop up and that is a clever pop up confirmation message as they like

49
00:02:44,580 --> 00:02:45,720
this album or not.

50
00:02:46,050 --> 00:02:51,420
So if you click the cancel then it should be ok rather than if you click ok then it should be deflected.

51
00:02:51,570 --> 00:02:51,990
Right.

52
00:02:52,380 --> 00:02:57,780
And also I want to do I want to create another page like Mwencha will be lactated soon after that,

53
00:02:57,780 --> 00:03:01,500
directly related to our another page, one of the Dilek page.

54
00:03:01,500 --> 00:03:06,150
And here I also want to show some of the message as this album is directed.

55
00:03:06,450 --> 00:03:12,330
So these type of things I want to do for doing this in our template into the template here I want to

56
00:03:12,330 --> 00:03:18,900
do and to create all the new file and I just name it as a dialect direct SGML like a friend.

57
00:03:19,140 --> 00:03:20,280
So that is our director.

58
00:03:20,280 --> 00:03:21,750
That's General Sabater.

59
00:03:22,320 --> 00:03:30,060
I want to do, you know, edit which is essential, all the essential things I want to copy like that.

60
00:03:30,060 --> 00:03:35,550
I just simply copied and here I just simply paste it and also need that and blog.

61
00:03:35,730 --> 00:03:38,550
So I just simply defend that and block.

62
00:03:38,550 --> 00:03:40,440
OK, that will be at a dialect.

63
00:03:43,080 --> 00:03:47,820
Delek base, so this type up, one of the techs right now, I'm actually defending on here.

64
00:03:47,850 --> 00:03:49,380
OK, so that is our base.

65
00:03:49,890 --> 00:03:52,860
That means the base is dismal and then our that is our block.

66
00:03:53,340 --> 00:03:53,850
Perfect.

67
00:03:54,120 --> 00:03:57,550
So now we have to do we have to create one of the functions for this one.

68
00:03:57,570 --> 00:04:00,930
So now go to our view and the view after this.

69
00:04:01,290 --> 00:04:07,290
After this, I want to do want to create the function and define that function as a deaf and I name

70
00:04:07,290 --> 00:04:10,620
it as a direct Elbaum delegate.

71
00:04:10,620 --> 00:04:14,550
Underscore Alabam OK, I lamido the direct album.

72
00:04:14,760 --> 00:04:19,840
And here also we have to parse that request and also we have to pass that I this I will add that things

73
00:04:19,860 --> 00:04:23,480
later, first of all, which is essential like the action.

74
00:04:24,060 --> 00:04:26,280
So now Fred, I think you can understand it.

75
00:04:26,310 --> 00:04:27,150
How much is it?

76
00:04:27,150 --> 00:04:29,250
Because everything is very much relative.

77
00:04:29,250 --> 00:04:37,020
So I just simply defined the return and render, render and render sortie into the render.

78
00:04:37,030 --> 00:04:40,650
I have to pass our request right into the request.

79
00:04:40,650 --> 00:04:42,130
We have to load our base.

80
00:04:42,150 --> 00:04:51,050
So here I have already defined our phase in our faster, faster and the faster that deflect the elected

81
00:04:51,200 --> 00:04:51,820
XHTML.

82
00:04:52,170 --> 00:04:52,480
Right.

83
00:04:52,510 --> 00:04:56,520
And then also and return the context to context.

84
00:04:56,520 --> 00:05:01,950
Our discussion say the same predefined addiction and also make sure you added the column.

85
00:05:02,640 --> 00:05:03,960
I always forget it.

86
00:05:03,990 --> 00:05:07,130
You consider exactly the column every time I have it, use it.

87
00:05:07,140 --> 00:05:09,420
So that is our function to the function request.

88
00:05:09,420 --> 00:05:12,090
We have to add that column, given that that's all.

89
00:05:12,630 --> 00:05:15,880
So now we have to also create one that you model for this one.

90
00:05:15,900 --> 00:05:18,680
So go to that our you are and better.

91
00:05:18,690 --> 00:05:20,220
I just simply copied it.

92
00:05:20,970 --> 00:05:25,890
So now I just simply prostitutes will be as idiolect or dialect, Taliban, whatever you want.

93
00:05:25,960 --> 00:05:33,600
So now I just simply defended the dialect album album and then also we have to define some dialis.

94
00:05:33,600 --> 00:05:35,040
I will do that later.

95
00:05:35,670 --> 00:05:38,770
So now that is our view and that is our dialect album.

96
00:05:38,800 --> 00:05:43,890
So if you want to change that name, that means here I have already created our these functions, our

97
00:05:43,890 --> 00:05:45,530
function name as a dialect album.

98
00:05:46,140 --> 00:05:48,780
So I just simply defined the album under your name.

99
00:05:48,810 --> 00:05:51,780
So right now I'm actually using that same name if you want to change it.

100
00:05:52,050 --> 00:05:53,680
I think you can well understand about it.

101
00:05:53,700 --> 00:05:56,390
So with this, we actually actually get out this part, right?

102
00:05:56,700 --> 00:05:59,120
That means into the part we have our already you.

103
00:05:59,730 --> 00:06:00,680
So that is our name.

104
00:06:00,690 --> 00:06:03,290
And here I defined that name as a dialect album.

105
00:06:03,780 --> 00:06:07,400
And also, as I told you, we have to do we have to deflect it.

106
00:06:07,410 --> 00:06:11,280
That means we have to direct this album with a specific one of the idee.

107
00:06:11,340 --> 00:06:11,700
Right.

108
00:06:11,970 --> 00:06:12,930
Like for the resource.

109
00:06:12,930 --> 00:06:20,970
If you go to our edit album and here into the edit album in this album in particular, that position,

110
00:06:20,970 --> 00:06:22,880
I have also defined the idea.

111
00:06:23,010 --> 00:06:28,050
And also, as I told you, we have to do we have to it with a specific one of the idea.

112
00:06:28,050 --> 00:06:32,220
That means if you want to delete this album, you have to delete this album with this idea.

113
00:06:32,220 --> 00:06:32,460
Right.

114
00:06:32,850 --> 00:06:38,520
So for the resource in our edit album into to the edit album here, if you go to that idiot album pays

115
00:06:38,520 --> 00:06:43,020
into the album here, I define our edit form with as the paragraph.

116
00:06:43,410 --> 00:06:49,680
So here to have some of the ideas we have already passed from unwire, which pays from our dysfunction,

117
00:06:49,680 --> 00:06:53,120
that means the edit album function under the edit album here.

118
00:06:53,130 --> 00:06:58,160
I have already defined not the idea, but you know, delek into the direct e-mail here.

119
00:06:58,170 --> 00:07:01,050
We don't need to be to find any ideas of what the is.

120
00:07:01,200 --> 00:07:01,740
I want to do.

121
00:07:01,740 --> 00:07:07,560
I want to define one of the ideas in our edit album into the edit album pays after this.

122
00:07:07,820 --> 00:07:14,820
OK, that means here after this I want to before in our edit album I pass into the diction update and

123
00:07:14,820 --> 00:07:18,600
here I pass that edit from right through to the edit album.

124
00:07:18,600 --> 00:07:23,280
Here I pass our edit form and also a password unsuccess text.

125
00:07:23,580 --> 00:07:26,460
So no one from to this position that is from our edit album.

126
00:07:26,460 --> 00:07:32,730
I want to pass on the idea for our dialect for the reasons here I just copy and here I find another

127
00:07:32,730 --> 00:07:34,230
one as a condition.

128
00:07:34,230 --> 00:07:36,250
Our update and into the update.

129
00:07:36,270 --> 00:07:40,020
Also, I want to learn to pass out ideas in our edit album.

130
00:07:40,020 --> 00:07:41,850
Pays sidedly determine peace.

131
00:07:41,850 --> 00:07:44,420
I want to pass the album.

132
00:07:45,330 --> 00:07:47,780
OK, I just named it as album one of the idea.

133
00:07:48,030 --> 00:07:50,850
So here I want to pass out these requested ideas.

134
00:07:50,850 --> 00:07:54,630
So that is already posted because of fall into the edit album.

135
00:07:54,630 --> 00:07:56,610
Here I define our delek form.

136
00:07:56,910 --> 00:07:58,230
That is our direct pattern.

137
00:07:58,230 --> 00:08:01,620
So now we can actually it with a specific ID.

138
00:08:01,860 --> 00:08:06,330
So for the reasons here, I have defined this idea as a al-hammadi.

139
00:08:06,550 --> 00:08:09,210
OK, I hope people will understand about it.

140
00:08:09,420 --> 00:08:14,460
So now we have to do we have to define out what that means in our edit into the CD here.

141
00:08:14,460 --> 00:08:17,880
We have to define that you are still so here.

142
00:08:17,880 --> 00:08:19,370
I just simply defined that you are.

143
00:08:19,560 --> 00:08:24,660
So that will be the percentages sorry into the percentages here.

144
00:08:24,660 --> 00:08:31,080
I want to do all the files that you are lucky and then we have to define our Fastweb.

145
00:08:31,130 --> 00:08:32,250
That means our app name.

146
00:08:33,030 --> 00:08:33,450
Right.

147
00:08:33,450 --> 00:08:37,710
Our app name has a fast name and then I have already defined our name.

148
00:08:38,070 --> 00:08:41,190
You know you are l I defined that app name as a dialect album.

149
00:08:41,640 --> 00:08:42,120
That means our.

150
00:08:42,710 --> 00:08:49,220
So here I just simply copied and now here are the final hours of the album and after the album also

151
00:08:49,310 --> 00:08:53,470
they told you we have to deal with a specific one by database.

152
00:08:53,480 --> 00:08:54,530
That is our album.

153
00:08:54,530 --> 00:08:55,850
And that is actually our idea.

154
00:08:55,850 --> 00:08:56,120
Right.

155
00:08:56,420 --> 00:09:05,090
So we have to deal with it to define one of the name of the album I'd name is Al-Hammadi and into this

156
00:09:05,090 --> 00:09:13,190
album be in from our view and from here, I have already passed another one as our album idea.

157
00:09:13,220 --> 00:09:15,830
I passed that things with this one that was requested.

158
00:09:15,830 --> 00:09:16,940
I will be as the album.

159
00:09:16,940 --> 00:09:20,720
I regret the fact that it was and have actually added that part.

160
00:09:20,720 --> 00:09:25,950
I hope people will understand about it because we have to also deal with the specific one of the ideas.

161
00:09:26,180 --> 00:09:29,080
So now I just simply pass it in our edit album.

162
00:09:29,090 --> 00:09:30,920
That means here I just simply pass it.

163
00:09:31,040 --> 00:09:33,500
So now it's still very addicted to our Delek paste.

164
00:09:33,500 --> 00:09:37,180
That means that the album pays with the specifics of the idea.

165
00:09:37,850 --> 00:09:44,120
And also we have to add this album if you know what you want to write, because you also have to define

166
00:09:44,120 --> 00:09:44,870
that specific.

167
00:09:44,870 --> 00:09:47,240
I'd say Sylvette just like dubstep.

168
00:09:47,360 --> 00:09:48,700
I just simply added.

169
00:09:48,710 --> 00:09:54,290
So our album idea have defined, I have defined our album I do will be as album idea.

170
00:09:54,980 --> 00:09:57,190
So that is actually the album might be perfect.

171
00:09:57,740 --> 00:10:03,260
So now decide also we have to add in our view, in our view, I have already killed along the function

172
00:10:03,260 --> 00:10:05,390
as a delayed album into the request.

173
00:10:05,720 --> 00:10:09,770
Here I have to pass all requested ideas and name it as a Al-Hammadi.

174
00:10:10,220 --> 00:10:18,070
So now friend, very clear to you, I am actually doing this like are clear to save all I stole it.

175
00:10:18,170 --> 00:10:19,670
Everything is running well.

176
00:10:19,970 --> 00:10:26,740
And now here like this page I just refresh it and not only click as a dialect and if you click it ok.

177
00:10:27,300 --> 00:10:28,060
Yes.

178
00:10:28,070 --> 00:10:32,690
Now considering now it's actually Decter to our direct album with the idea.

179
00:10:32,960 --> 00:10:33,400
Right.

180
00:10:33,830 --> 00:10:36,050
So that is the idea I have defined.

181
00:10:36,050 --> 00:10:38,870
So now I think you are going to understand about this two here.

182
00:10:38,870 --> 00:10:46,160
I define our requested ID and I just passed that things in our outdated album and into the edit album.

183
00:10:46,160 --> 00:10:52,280
Here I define our final step and should be declared our direct album Pei's with our requested ID.

184
00:10:52,610 --> 00:10:57,770
So before that, as you can see that is actually our two ideas and when you actually delete it then

185
00:10:57,770 --> 00:11:05,060
it's indicated to our select album page we decided that means we decided I want to delete our D aspecific

186
00:11:05,060 --> 00:11:05,950
album data.

187
00:11:06,500 --> 00:11:10,400
So now here we have to define that condition in our view for this data.

188
00:11:10,550 --> 00:11:16,460
So here if you go to that view, so after this album, OK, album here, I take one of the variable

189
00:11:16,460 --> 00:11:23,300
as an album, I take on the variable of the album and then I define our tabi name as the album.

190
00:11:24,210 --> 00:11:25,940
Right, our album table.

191
00:11:25,940 --> 00:11:28,250
And then I did all that, our objects.

192
00:11:29,330 --> 00:11:32,490
And then I hope to do actually find that get right filled.

193
00:11:32,510 --> 00:11:34,600
And then our primary key, our primary key.

194
00:11:34,610 --> 00:11:39,710
I have also defined our primary key will be as a D requested, I'd say, just simply defined the sequester

195
00:11:39,710 --> 00:11:41,920
data to know how to do and it.

196
00:11:41,930 --> 00:11:49,910
So I just remember the the method as a direct OK, I just simply defined as it happens, this data will

197
00:11:49,910 --> 00:11:51,560
be deflective, will still be Delek.

198
00:11:51,560 --> 00:11:54,200
I want to learn to pass on the message.

199
00:11:54,500 --> 00:12:00,860
So here I define all the ideas as a direct success, like a direct address for success.

200
00:12:01,820 --> 00:12:02,510
So they step up.

201
00:12:02,510 --> 00:12:05,410
One of the ideas I want to pass would sound the message.

202
00:12:05,720 --> 00:12:07,700
So here I define the message.

203
00:12:08,300 --> 00:12:14,840
It should be as the album the elected, like the Lactaid successfully.

204
00:12:17,240 --> 00:12:22,240
So this type of search will be directed at this type of message as the Alabama director successfully

205
00:12:22,490 --> 00:12:25,160
so here, I define our discussion and the decision.

206
00:12:25,160 --> 00:12:27,650
I pass our discussion in our delek base.

207
00:12:27,650 --> 00:12:33,710
That means that now we can actually visible our this message that this is the message at the deal success.

208
00:12:33,710 --> 00:12:33,970
Right.

209
00:12:34,370 --> 00:12:36,800
So now we have to add it in our dialects.

210
00:12:36,800 --> 00:12:37,850
That means here.

211
00:12:38,360 --> 00:12:41,330
So it'll be just like Sam before we already did.

212
00:12:41,330 --> 00:12:41,760
That works.

213
00:12:41,810 --> 00:12:44,600
I just did the day for this on end of the day.

214
00:12:44,600 --> 00:12:50,210
Plus, I definitely alert all the bootstrap class alert alert danger.

215
00:12:52,010 --> 00:12:55,040
OK, just name it as alert alert danger one of the class.

216
00:12:55,370 --> 00:13:00,050
And here I want to do I want to pass out this name from here.

217
00:13:00,050 --> 00:13:02,260
I pass our ID as a direct success.

218
00:13:02,270 --> 00:13:04,970
I just simply define our direct success.

219
00:13:05,210 --> 00:13:08,270
Ratchford I think it's very clear to you right now.

220
00:13:08,480 --> 00:13:09,970
So now let's check this out.

221
00:13:09,980 --> 00:13:12,890
If you look at the Savol, so I just click on the Save All.

222
00:13:14,240 --> 00:13:21,620
Check it, everything is well, sort of go to our side, go to home, and if you go to our Michael Jackson

223
00:13:21,620 --> 00:13:26,330
and here they have the two hour album, so now one to do to remove our D.

224
00:13:26,330 --> 00:13:26,680
Hello.

225
00:13:27,440 --> 00:13:32,470
So that is actually hello is our last name is a Michael Jackson release date and the number of visitors

226
00:13:32,630 --> 00:13:34,700
wanting to go to the elected Telek.

227
00:13:34,850 --> 00:13:39,500
First of all, as we show our JavaScript as a day like this album, if you click on the OK.

228
00:13:40,500 --> 00:13:47,130
Yes, now consists of perfectly elected and re-elected to our elected elbaum, and that is our Amdo

229
00:13:47,130 --> 00:13:51,940
idea that also is also showing our Delek base as the album Delek successfully.

230
00:13:52,290 --> 00:13:55,530
So here I just simply fell on the alert and that is our message.

231
00:13:55,560 --> 00:14:00,680
So here I define this message with this idea as album director successfully.

232
00:14:00,890 --> 00:14:02,450
So now it's perfectly visible.

233
00:14:02,740 --> 00:14:05,030
So now it's perfectly display our message.

234
00:14:05,040 --> 00:14:08,160
And now if you go home, go to the Michael Jackson here.

235
00:14:08,160 --> 00:14:14,170
You can see that actually the two that are right now are we have already the electronic data as a hello.

236
00:14:14,400 --> 00:14:16,710
So now they have the only one data so far.

237
00:14:16,710 --> 00:14:18,520
And I hope we can all understand about it.

238
00:14:18,540 --> 00:14:22,060
So from here, we successfully dilek our album.

239
00:14:22,150 --> 00:14:26,730
So now if you also want to direct that artist name, how can do that work?

240
00:14:26,730 --> 00:14:29,870
You know, next video, I will show you that things with the live example.

241
00:14:30,330 --> 00:14:33,600
So thanks for watching and I'll see you in the next video.
