Sha256: cd938a0ae8f91b2b25dc79214f8f065303df007a65032e6a54bc7609c8997698
Contents?: true
Size: 1.66 KB
Versions: 3
Compression:
Stored size: 1.66 KB
Contents
<td class="adm_icon"> <%= unless @column.new_record? link_to_remote _('btn_x'), :url => column_path(@column), :method => :get else link_to_function _('btn_x'), "['add_column', 'add_column_form'].each(Element.toggle)" end %> </td> <td class="add" colspan='2'> <div id='column_errors'><%= error_messages_for(:column, :object => @column) %></div> <% if @column.new_record? %> <%= form_remote_tag(:url => columns_path ) %> <% else %> <%= form_remote_tag(:url => column_path(@column), :method => :put ) %> <% end %> <table cellspacing='0' class='edit_column'> <tr class='ruby'> <td class='label'><%= _("role")%></td> <td class='label'><%= _("type")%></td> <td class='label'><%= _("name")%></td> <td class='label'><%= _("index")%></td> </tr> <tr class='ruby'> <td><span class='constant'><%= select('column', 'role_id', Column.roles_for_form ) %></span></td> <td><span class='text'><%= select('column', 'ptype', Column::TYPES_FOR_FORM ) %></span></td> <td><%= text_field('column', 'name', :size=>15 ) %></td> <td><span class='text'><%= select_tag "column[index]", grouped_options_for_select(Column.indices_for_form, @column.index, '') %></span></td> </tr> <tr><td colspan='4'><p class='btn_validate'><input type='submit' value='<%= _('validate') %>'/></p></td></tr> </table> </form> <% if !@column.new_record? -%> <%= form_remote_tag(:url => column_path(@column), :method => :delete, :confirm => _('Are you sure you want to destroy this property definition ?') ) %> <p class='destroy'><%= _('destroy property') %> <input type='submit' value='<%= _('destroy') %>'></p> </form> <% end -%> </td>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
zena-1.1.1 | app/views/columns/_form.html.erb |
zena-1.1.0 | app/views/columns/_form.html.erb |
zena-1.0.0 | app/views/columns/_form.html.erb |