66 lines
2.2 KiB
Plaintext
66 lines
2.2 KiB
Plaintext
<%= form_for @song_list, url: admin_nccu_com_vnccu_program_song_list_path(@song_list), html: {class: "form-horizontal main-forms"} do |f| %>
|
|
<fieldset>
|
|
|
|
<% content_for :page_specific_css do %>
|
|
<%= stylesheet_link_tag "lib/main-forms" %>
|
|
<%= stylesheet_link_tag "lib/fileupload" %>
|
|
<%= stylesheet_link_tag "lib/main-list" %>
|
|
<% end %>
|
|
<% content_for :page_specific_javascript do %>
|
|
<%= javascript_include_tag "lib/bootstrap-fileupload" %>
|
|
<%= javascript_include_tag "lib/bootstrap-datetimepicker" %>
|
|
<%= javascript_include_tag "lib/datetimepicker/datetimepicker.js" %>
|
|
<%= javascript_include_tag "lib/file-type" %>
|
|
<%= javascript_include_tag "lib/module-area" %>
|
|
<% end %>
|
|
|
|
<!-- Input Area -->
|
|
<div class="input-area">
|
|
|
|
<!-- Language -->
|
|
<div class="tab-content">
|
|
|
|
|
|
<!-- Title -->
|
|
<div class="control-group">
|
|
<label class="control-label muted"><%= t('nccu_com_vnccu_program.program_name') %></label>
|
|
<div class="controls">
|
|
<%= @nccu_com_vnccu_program.program_name %>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- paly status -->
|
|
<div class="control-group">
|
|
<label class="control-label muted"><%= t('vod.play_status') %></label>
|
|
<div class="controls">
|
|
<label class="radio inline">
|
|
<%= f.radio_button :play_status, "yes", checked: @song_list.play_status == true ? true : false %><%= t(:yes_) %>
|
|
</label>
|
|
<label class="radio inline">
|
|
<%= f.radio_button :play_status, "no", checked: @song_list.play_status == false ? true : false %><%= t("nccu_com_vnccu_program.no_") %>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- paly time -->
|
|
<div class="control-group">
|
|
<label class="control-label muted"><%= t("vod.play_time") %></label>
|
|
<div class="controls">
|
|
<%= f.text_field :play_time %>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Form Actions -->
|
|
<div class="form-actions">
|
|
<%#= get_referer_url[:action] rescue "" %>
|
|
<%= f.submit t('submit'), class: 'btn btn-primary' %>
|
|
<%= link_to t('cancel'), "/admin/nccu_com_vnccu_programs/#{@nccu_com_vnccu_program.id}/song_list", :class=>"btn" %>
|
|
</div>
|
|
|
|
|
|
</fieldset>
|
|
<% end %> |