Sha256: 0fb922695bef59a13f65db05d52f356b0257f5ca35bdbd081f98710f9de51532

Contents?: true

Size: 714 Bytes

Versions: 3

Compression:

Stored size: 714 Bytes

Contents

<div class="row">
  <div class="col-md-12">
    <div class="panel">
      <div class="panel-body">
        <%= simple_form_for @object, html: { class: "form-horizontal", role: "form"} do |f| %>

            <%= f.input :description %>

            <%= f.input :link %>

          <hr>
          <div class="form-actions">
            <%= f.submit 'Salvar', class: "btn btn-success" %>
            <%= link_to 'Apagar', @object, method: :delete, data: {confirm: 'Tem certeza que deseja remover esse registro?'}, class: 'btn btn-danger' if f.object.persisted? %>
            <%= link_to 'Cancelar', videos_path, class: 'btn btn-primary' %>
          </div>
        <% end %>
      </div>
    </div>

  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
web_admin-0.1.0 app/views/web_admin/videos/_form.html.erb
web_admin-0.0.2 app/views/web_admin/videos/_form.html.erb
web_admin-0.0.1 app/views/web_admin/videos/_form.html.erb