Sha256: 4479c2a3d98487cc8d4cefc039da8d3b2045b565c86b8f88ef68f2a12bf4c7dd

Contents?: true

Size: 1.22 KB

Versions: 4

Compression:

Stored size: 1.22 KB

Contents

<% provide(:page_title, "Nueva") %>
<% breadcrumb_add('Secciones', sections_path) %>
<div class="row-fluid">
  <div class = "widget widget-padding span12">
    <div class = "widget-header"><i class = "icon-tasks"></i><h5>Sección</h5></div>
    <div class = "widget-body">
      <div class = "widget-forms clearfix">
        <%= custom_form_for(@section, :url => sections_path) do |f| %>
          <%= render 'shared/error_messages', :object => @section %>
          <%= f.text_field :name, :label => "Nombre", :placeholder => "Nombre de la seccion" %>
          <%= f.text_field :key, :label => "Identificador", :placeholder => "Identificador" %>
          <div class="control-group">
            <label class="control-label">Descripción</label>
            <div class="controls">
              <%= f.cktext_area :description, :label => t("Description") %>
            </div>
          </div>
          <%= f.radio_button_group :has_image, ['1', '0'], :label => "Tiene Imagen" %>
          <%= f.radio_button_group :has_description, ['1', '0'], :label => "Tiene Descripcion" %>
      </div>
    </div>
    <div class = "widget-footer">
      <%= f.submit "Agregar", :disable_with => 'Submiting...' %>
    </div>
      <% end -%>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
adminpanel-1.2.1 app/views/adminpanel/sections/new.html.erb
adminpanel-1.2.0 app/views/adminpanel/sections/new.html.erb
adminpanel-1.1.0 app/views/adminpanel/sections/new.html.erb
adminpanel-1.0.0 app/views/adminpanel/sections/new.html.erb