| 1 | <% content_for :meta_head do %> |
| 2 | <title> |
| 3 | <%= @meta_title %> |
| 4 | </title> |
| 5 | <meta name="description" content="<%= @meta_description %>"> |
| 6 | <% end %> |
| 7 | <div class="row"> |
| 8 | <!-- BEGIN content --> |
| 9 | <div class="col-md-12"> |
| 10 | <div class="page-header"> |
| 11 | <h1> |
| 12 | <%= t("gending_notation_add") %> |
| 13 | </h1> |
| 14 | </div> |
| 15 | </div> |
| 16 | <div class="col-md-8"> |
| 17 | <%= form_with model: @javanese_gending, url: { action: "add" }, html: { :class=> "form-horizontal" } do |form| %> |
| 18 | <div class="form-group"> |
| 19 | <%= form.label t("gending_name"), class: "col-sm-3 control-label" %> |
| 20 | <div class="col-sm-9"> |
| 21 | <%= form.text_field :name, class: "col-md-6 form-control tinymce" %> |
| 22 | </div> |
| 23 | <%= form.label t("gending_description"), class: "col-sm-3 control-label" %> |
| 24 | <div class="col-sm-9"> |
| 25 | <%= form.text_area :description, class: "col-md-6 form-control tinymce" , :rows=> 10, :cols => 120 %> |
| 26 | </div> |
| 27 | </div> |
| 28 | <div class="form-group"> |
| 29 | <div class="col-sm-offset-3 col-sm-4"> |
| 30 | <%= form.submit t("gending_notation_add"), class: "btn btn-primary" %> |
| 31 | </br> |
| 32 | </br> |
| 33 | <div class="vertical-separator"></div> |
| 34 | <%= link_to t("cancel"), javanese_gending_path, class: "btn btn-secondary" %> |
| 35 | </div> |
| 36 | </div> |
| 37 | <% end %> |
| 38 | <%= tinymce %> |
| 39 | </div> |
| 40 | <!-- END content --> |
| 41 | </div> |
| 42 | <%= render "shared/partial_breadcrumbs" do %> |
| 43 | <% end %> |