feature/share-libs
erb 47 lines 1.7 KB
Raw
1 <% content_for :meta_head do %>
2 <title><%= @meta_title %> | <%= @user.name %></title>
3 <meta name="description" content="<%= @meta_description %>">
4 <% end %>
5
6 <div class="row">
7 <!-- BEGIN content -->
8 <div class="col-md-12">
9
10 <div class="page-header">
11 <h1><%= t("song_lyric_unavailable_content_add_lyric") %> - <%= @song.name %></h1>
12 </div>
13
14 </div>
15 <div class="col-md-8">
16 <%= form_with model: @lyric, url: {action: "add_lyric"}, html: { :class => "form-horizontal" } do |form| %>
17 <div class="form-group">
18 <%= form.label t("lyric"), class: "col-sm-3 control-label" %>
19 <div class="col-sm-9">
20 <%= form.text_area :lyric, class: "col-md-6 form-control tinymce", :rows => 40, :cols => 120 %>
21 <%= form.hidden_field :song_id, :value => @lyric.song_id %>
22 <%= form.hidden_field :user_id, :value => @lyric.user_id %>
23 </div>
24 </div>
25 <div class="form-group">
26 <div class="col-sm-offset-3 col-sm-4">
27 <%= form.submit t("song_lyric_unavailable_content_add_lyric"), class: "bb-button bb-green bb-large" %></br>
28 <div class="vertical-separator"></div>
29 <%= link_to t("cancel"), my_path, class: "bb-button bb-red bb-large" %>
30 </div>
31 </div>
32 <% end %>
33 <%= tinymce %>
34 </div>
35 <!-- END content -->
36 </div>
37
38 <div class="row" style="margin-top: 20px">
39 <div class="col-md-12">
40
41 <ol class="breadcrumb">
42 <li><%= link_to t("breadcrumb_home"), root_path %></li>
43 </ol>
44
45 </div>
46 </div>
47