Sha256: d06baa7069bd6d020ccaaeee78ca3f483b188dd0cec4c6513826430ed87aad17

Contents?: true

Size: 767 Bytes

Versions: 17

Compression:

Stored size: 767 Bytes

Contents


<%= bootstrap_form_for @page, :url => "./",:html => {:id => "edit-page-form",:class => 'form-horizontal'} do |f| %>

  <fieldset>
    <legend>Page</legend>
    <%= f.text_field :title %>
    <%= f.text_field :path, :placeholder => "/enter/a/path" %>
    <%= f.text_area :meta_description %>
  </fieldset>
  
  <%= f.actions do %>
    <%= f.submit(:include_cancel => false, :value => (@page.persisted? ? 'Save' : "Create"), :class => "btn btn-primary") %>
    <%= button_tag  'Cancel', :onclick => "document.location = '#{pages_path}'; return false;", :class => 'btn' %>
    <% if @page.persisted? %>
      <%= link_to 'Remove', page_path(@page), :confirm => 'Are you sure?', :class => 'btn btn-warning',  :method => :delete %>
    <% end %>
  <% end %>
<% end %>


Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
burp_cms-1.7.1 app/views/burp/pages/edit.html.erb
burp_cms-1.7.0 app/views/burp/pages/edit.html.erb
burp_cms-1.6.0 app/views/burp/pages/edit.html.erb
burp_cms-1.5.13 app/views/burp/pages/edit.html.erb
burp_cms-1.5.12 app/views/burp/pages/edit.html.erb
burp_cms-1.5.11 app/views/burp/pages/edit.html.erb
burp_cms-1.5.10 app/views/burp/pages/edit.html.erb
burp_cms-1.5.9 app/views/burp/pages/edit.html.erb
burp_cms-1.5.8 app/views/burp/pages/edit.html.erb
burp_cms-1.5.7 app/views/burp/pages/edit.html.erb
burp_cms-1.5.6 app/views/burp/pages/edit.html.erb
burp_cms-1.5.5 app/views/burp/pages/edit.html.erb
burp_cms-1.5.4 app/views/burp/pages/edit.html.erb
burp_cms-1.5.3 app/views/burp/pages/edit.html.erb
burp_cms-1.5.2 app/views/burp/pages/edit.html.erb
burp_cms-1.5.1 app/views/burp/pages/edit.html.erb
burp_cms-1.5.0 app/views/burp/pages/edit.html.erb