Commit a5cfe777 by Trần Văn Minh

Chỉnh lại form thêm mới nghệ sĩ. Thêm add nghệ sĩ khi select nghệ sĩ chưa có

parent bf301bc9
...@@ -174,7 +174,7 @@ $check = "checked => 1"; ...@@ -174,7 +174,7 @@ $check = "checked => 1";
</select> </select>
<?php if(validation_errors()){echo form_error('artist', '<div class="error">', '</div>');} ?> <?php if(validation_errors()){echo form_error('artist', '<div class="error">', '</div>');} ?>
</div> </div>
<div id="add_composer"> <div id="add_composer" style="display: none;">
<a href="#myModal" role="button" class="btn btn-success" data-toggle="modal">Thêm nghệ sĩ</a> <a href="#myModal" role="button" class="btn btn-success" data-toggle="modal">Thêm nghệ sĩ</a>
</div> </div>
</div> </div>
...@@ -265,8 +265,8 @@ $check = "checked => 1"; ...@@ -265,8 +265,8 @@ $check = "checked => 1";
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<h3 id="myModalLabel">Thêm mới Ca sĩ/Nhạc sĩ</h3>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">Thêm mới Ca sĩ/Nhạc sĩ</h3>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="row"> <div class="row">
...@@ -282,6 +282,7 @@ $check = "checked => 1"; ...@@ -282,6 +282,7 @@ $check = "checked => 1";
</div> </div>
</div> </div>
<div class="form-group" id="err-username"> <div class="form-group" id="err-username">
<label class="col-lg-3"></label>
<label class="col-lg-3">Username (*)</label> <label class="col-lg-3">Username (*)</label>
<div class="col-lg-3"> <div class="col-lg-3">
<input type="text" name="username" value="" class="form-control" <input type="text" name="username" value="" class="form-control"
...@@ -290,6 +291,7 @@ $check = "checked => 1"; ...@@ -290,6 +291,7 @@ $check = "checked => 1";
<div><span name></span></div> <div><span name></span></div>
</div> </div>
<div class="form-group" id="err-email"> <div class="form-group" id="err-email">
<label class="col-lg-3"></label>
<label class="col-lg-3">Email (*)</label> <label class="col-lg-3">Email (*)</label>
<div class="col-lg-3"> <div class="col-lg-3">
<input type="email" name="email" value="" class="form-control" <input type="email" name="email" value="" class="form-control"
...@@ -297,6 +299,7 @@ $check = "checked => 1"; ...@@ -297,6 +299,7 @@ $check = "checked => 1";
</div> </div>
</div> </div>
<div class="form-group err-full-name"> <div class="form-group err-full-name">
<label class="col-lg-3"></label>
<label class="col-lg-3">Tên đầu đủ (*)</label> <label class="col-lg-3">Tên đầu đủ (*)</label>
<div class="col-lg-3"> <div class="col-lg-3">
<input type="text" name="full_name" value="" class="form-control" <input type="text" name="full_name" value="" class="form-control"
...@@ -304,6 +307,7 @@ $check = "checked => 1"; ...@@ -304,6 +307,7 @@ $check = "checked => 1";
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-lg-3"></label>
<label class="col-lg-3">Link Zingmp3</label> <label class="col-lg-3">Link Zingmp3</label>
<div class="col-lg-3"> <div class="col-lg-3">
<input type="text" name="link_zing" value="" class="form-control" <input type="text" name="link_zing" value="" class="form-control"
...@@ -311,6 +315,7 @@ $check = "checked => 1"; ...@@ -311,6 +315,7 @@ $check = "checked => 1";
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-lg-3"></label>
<label class="col-lg-3">Link Nhạc của tui</label> <label class="col-lg-3">Link Nhạc của tui</label>
<div class="col-lg-3"> <div class="col-lg-3">
<input type="text" name="link_nct" value="" class="form-control" <input type="text" name="link_nct" value="" class="form-control"
...@@ -318,6 +323,7 @@ $check = "checked => 1"; ...@@ -318,6 +323,7 @@ $check = "checked => 1";
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-lg-3"></label>
<label class="col-lg-3">Link Keeng</label> <label class="col-lg-3">Link Keeng</label>
<div class="col-lg-3"> <div class="col-lg-3">
<input type="text" name="link_keeng" value="" class="form-control" <input type="text" name="link_keeng" value="" class="form-control"
...@@ -325,6 +331,7 @@ $check = "checked => 1"; ...@@ -325,6 +331,7 @@ $check = "checked => 1";
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-lg-3"></label>
<div class="col-lg-3"> <div class="col-lg-3">
<a href="<?php echo base_url().'backend/cmsArtist/listArtist'?>" <a href="<?php echo base_url().'backend/cmsArtist/listArtist'?>"
onclick="return confirm('Bạn có chắc chắn muốn quay lại Danh sách không?')"> onclick="return confirm('Bạn có chắc chắn muốn quay lại Danh sách không?')">
......
...@@ -155,7 +155,7 @@ $input_link_keeng = array( ...@@ -155,7 +155,7 @@ $input_link_keeng = array(
<?php endforeach; ?> <?php endforeach; ?>
</select> </select>
</div> </div>
<div id="add_composer"> <div id="add_composer" style="display: none;">
<a href="#myModal" role="button" class="btn btn-success" data-toggle="modal">Thêm nghệ sĩ</a> <a href="#myModal" role="button" class="btn btn-success" data-toggle="modal">Thêm nghệ sĩ</a>
</div> </div>
</div> </div>
...@@ -200,8 +200,8 @@ $input_link_keeng = array( ...@@ -200,8 +200,8 @@ $input_link_keeng = array(
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<h3 id="myModalLabel">Thêm mới Ca sĩ/Nhạc sĩ</h3>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<div id="myModalLabel">Thêm mới Ca sĩ/Nhạc sĩ</div>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="row"> <div class="row">
...@@ -217,6 +217,7 @@ $input_link_keeng = array( ...@@ -217,6 +217,7 @@ $input_link_keeng = array(
</div> </div>
</div> </div>
<div class="form-group" id="err-username"> <div class="form-group" id="err-username">
<label class="col-lg-3"></label>
<label class="col-lg-3">Username (*)</label> <label class="col-lg-3">Username (*)</label>
<div class="col-lg-3"> <div class="col-lg-3">
<input type="text" name="username" value="" class="form-control" <input type="text" name="username" value="" class="form-control"
...@@ -225,6 +226,7 @@ $input_link_keeng = array( ...@@ -225,6 +226,7 @@ $input_link_keeng = array(
<div><span name></span></div> <div><span name></span></div>
</div> </div>
<div class="form-group" id="err-email"> <div class="form-group" id="err-email">
<label class="col-lg-3"></label>
<label class="col-lg-3">Email (*)</label> <label class="col-lg-3">Email (*)</label>
<div class="col-lg-3"> <div class="col-lg-3">
<input type="email" name="email" value="" class="form-control" <input type="email" name="email" value="" class="form-control"
...@@ -232,6 +234,7 @@ $input_link_keeng = array( ...@@ -232,6 +234,7 @@ $input_link_keeng = array(
</div> </div>
</div> </div>
<div class="form-group err-full-name"> <div class="form-group err-full-name">
<label class="col-lg-3"></label>
<label class="col-lg-3">Tên đầu đủ (*)</label> <label class="col-lg-3">Tên đầu đủ (*)</label>
<div class="col-lg-3"> <div class="col-lg-3">
<input type="text" name="full_name" value="" class="form-control" <input type="text" name="full_name" value="" class="form-control"
...@@ -239,6 +242,7 @@ $input_link_keeng = array( ...@@ -239,6 +242,7 @@ $input_link_keeng = array(
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-lg-3"></label>
<label class="col-lg-3">Link Zingmp3</label> <label class="col-lg-3">Link Zingmp3</label>
<div class="col-lg-3"> <div class="col-lg-3">
<input type="text" name="link_zing" value="" class="form-control" <input type="text" name="link_zing" value="" class="form-control"
...@@ -246,6 +250,7 @@ $input_link_keeng = array( ...@@ -246,6 +250,7 @@ $input_link_keeng = array(
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-lg-3"></label>
<label class="col-lg-3">Link Nhạc của tui</label> <label class="col-lg-3">Link Nhạc của tui</label>
<div class="col-lg-3"> <div class="col-lg-3">
<input type="text" name="link_nct" value="" class="form-control" <input type="text" name="link_nct" value="" class="form-control"
...@@ -253,6 +258,7 @@ $input_link_keeng = array( ...@@ -253,6 +258,7 @@ $input_link_keeng = array(
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-lg-3"></label>
<label class="col-lg-3">Link Keeng</label> <label class="col-lg-3">Link Keeng</label>
<div class="col-lg-3"> <div class="col-lg-3">
<input type="text" name="link_keeng" value="" class="form-control" <input type="text" name="link_keeng" value="" class="form-control"
...@@ -260,6 +266,7 @@ $input_link_keeng = array( ...@@ -260,6 +266,7 @@ $input_link_keeng = array(
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-lg-3"></label>
<div class="col-lg-3"> <div class="col-lg-3">
<a href="<?php echo base_url().'backend/cmsArtist/listArtist'?>" <a href="<?php echo base_url().'backend/cmsArtist/listArtist'?>"
onclick="return confirm('Bạn có chắc chắn muốn quay lại Danh sách không?')"> onclick="return confirm('Bạn có chắc chắn muốn quay lại Danh sách không?')">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment